Posts

Showing posts from December, 2018

Explanation of the main function of Tic Tac Toe reloaded

Below, I have explained main code for manual mode. For automatic mode, we need to follow some extra step, which I will explain in later posts. So follow me to keep updated. Please check my source code post to check full code file, as there are some mistakes in code below. #include "stdafx.h" #include<iostream> #include<conio.h> #include<proces.h> #include<vector> #include<cstdlib> #include<fstream> From starting we have some INCLUDE statement to include the libraries which we needed in this program.  On line 1 is the library of visual studio which it uses for indentation and format. So, it always included in visual studio project. Line 2 is for input/output stream, this provides the basic print statements and input/output. Line 3 is used for getch() function to hold the screen, it is like co-ordination of input and output. Line 4 is used some processing library and for clear screen. On some compiler, you can directly use...