I have been realizing some issues with one of my lessons and was wondering if anyone could help me. In the lesson Learn C++ it says that I need to open a certain folder called a.out. In my lesson, I was not provided with this and couldent finish if anyone knows how to solve the problem or has experienced the same please reply.
1 Like
You execute the file by typing ./a.out
into your shell.
You can try ls -a
to see the file.
If you compile with the -o
flag you can rename that a.out to anything you want
c++ main.cpp -o myProgram
Then run by using
./myProgram
2 Likes