jojoG
01-24-2003, 04:56 PM
i'm a newbie for linux n tried to write the hello program in C++. Now I've struggled through the compilation. but how can i see the output.
|
Click to See Complete Forum and Search --> : how can i see my output jojoG 01-24-2003, 04:56 PM i'm a newbie for linux n tried to write the hello program in C++. Now I've struggled through the compilation. but how can i see the output. goon12 01-24-2003, 05:16 PM Look in the directory you compiled to program in for a executable file. To run the executable do "./executable_file_name". It could be "a.out", depending on how you compiled the program. If you had the source file called "source1.c" and did "make source1" you will have an executable called source1, to execute that do "./source1" -goon12 jojoG 01-26-2003, 05:04 AM well thanks and that really works :cool: justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |