In the directory where a.out is, type
chmod 744 a.out
to make it executable. Then type
./a.out
to run the program
/J
*********** REPLY SEPARATOR ***********
On 2003-10-09 at 00:30 age...@co... wrote:
>On Red HAt Linux, I successfully used G++ to compile my first program.
>Now, how do I run it? I know it creates a file named a.out, but what do I
>do after that to see my program?
>
>--
>~~Scott Simontis~~
>Programmer
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: SF.net Giveback Program.
>SourceForge.net hosts over 70,000 Open Source Projects.
>See the people who have HELPED US provide better services:
>Click here: http://sourceforge.net/supporters.php
>_______________________________________________
>Dev-cpp-users mailing list
>Dev...@li...
>TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
|