Demo solution for the TicTacToe problem for Programming Techniques (introduction to C++
language) classes @ WUST.
Lecture notes can be found in the following repository.
Demo includes topics such as:
- basic
Makefile
; range-for
;- typedefs (
using ...
); - classes:
- files structure (
hpp
,cpp
); - constructors/destuctors;
- static methods;
- files structure (
- (scoped) enum class;
ostream
operator<<
override;STL
objects (std::vector
,std::array
,std::map
);- usage of the interfaces (virtual inheritance, virtual methods);
- min max algorithm.