title: Connect Chess Engine with C++ GUI Program
body: <p>I want to connect my C++ Program with a Chess Engine in order to have AI for the enemy.
  In my c++ program-->User will make a move(eg. A2A3)-->I will pass this string to chess engine-->engine will update board-->engine will start A.I for calculating enemy move-->Engine will give enemy's move as string(e.g A7A6) to my C++ program-->etc</p>
  
  <p>I read that in order for my program to interact with a chess engine I have to start the chess_engine.exe file and exchange commands with it via the Standard Input/Output.</p>
  
  <p>Can you tell me how exactly can my Visual Studio program code start a exe file and exchange commands with it?? Any example?</p>
  
  <p>Thank you in advance.</p>