152k views
2 votes
Open a separate ssh session in a second window. In there, give the command: ~cs252/bin/compileAsst This will ask you some questions about the errors that you observed. Eventually, it will instruct you to fix the errors and to recompile the code. In your first window, use an editor to fix the errors in the code.

1 Answer

4 votes

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

User VnoitKumar
by
5.8k points