compile

hi everyone
not really an opengl question, but i just tried (for the first time) to compile c++ in linux. so i did “g++ source.cpp” and i got a.out. so i tried executing it by typing “a.out” and it said something like bash: unknown command
so my question is…how do i execute the program?

$ ./a.out

The current directory is not part of your PATH by default for security reasons.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.