Answers.Body: <p><a href="https://stackoverflow.com/questions/8832326/how-can-i-execute-a-command-line-command-from-a-c-program">https://stackoverflow.com/questions/8832326/how-can-i-execute-a-command-line-command-from-a-c-program</a>
  10 seconds search returned this since engines are command line tools, or that is what i think.
  is it what are you looking for?
  but somehow i believe python has a better way to communicate with engines you should look it up.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-05-28T12:57:49.800Z
Answers.LastActivityDate: 2024-05-28T12:57:49.800Z
Answers.UserDisplayName: Wassim Saeed
Body: <p>I downloaded the stockfish.exe from the website and it runs fine. I just want to give it a position and to return an eval. The documentation about c++ in the stockfish website is gone. What can I do?
  I know how to communicate with the executable using the UCI protocol, but I don't know how to do it in code.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-05-28T16:22:21.680Z
Comments.Text: For those wondering if such questions are off topic could I direct you to the help center (https://chess.stackexchange.com/help/on-topic) where more information is available. In particular *"Chess-specific questions about programming a chess engine or other chess software are welcome"*.
Comments.UserDisplayName: Brian Towers
Tags: <software><stockfish>
Title: How to use stockfish with c++?
ThreadText: # How to use stockfish with c++?
  
  (Asked by: username_0 on 2024-05-27)
  
  I downloaded the stockfish.exe from the website and it runs fine. I just want to give it a position and to return an eval. The documentation about c++ in the stockfish website is gone. What can I do?
  I know how to communicate with the executable using the UCI protocol, but I don't know how to do it in code.
  
  **Tags:** software, stockfish
  
  > **Comments:**
  > **username_1**: For those wondering if such questions are off topic could I direct you to the help center (https://chess.stackexchange.com/help/on-topic) where more information is available. In particular *"Chess-specific questions about programming a chess engine or other chess software are welcome"*.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2024-05-28. Score: 3
  
  <https://stackoverflow.com/questions/8832326/how-can-i-execute-a-command-line-command-from-a-c-program>
  10 seconds search returned this since engines are command line tools, or that is what i think.
  is it what are you looking for?
  but somehow i believe python has a better way to communicate with engines you should look it up.
  
  
  ---
  
  