Answer and Explanation:
if all your program works fine, without any compilation error, then open command prompt and navigate to the folder "cs252/Assignments/guess" where you have all the header and c++ files stored.
type to generate "program" executable file :- g++ -o program guess.cpp
To execute the so obtained executable:- ./program