Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 09-24-2002, 02:02 PM   #1
Member (7 bit)
 
LoveJones's Avatar
 
Join Date: Sep 2002
Posts: 93
Typing C++ prog name at terminal prompt isn't running prog...

I am doing a little refresher self-study of C++ before school starts on Friday.

I just successfully compiled my program and renamed the output to "orc."

I am not sure if that was an important file I over-wrote, or if there is something else I am doing, because if I type "orc," at the command prompt it gives me the error that the command cannot be found.

bash: orc: command cannot be found

Or something to that effect.

I even tried renaming the output to other names and nothing works. I even compiled and let it name the file the default name "a.out" and that doesn't run either.

This is my exact syntax...

g++ orc.cpp -o orc

I have been able to run the program using gdb.

Any and all help or suggestions much appreciated. I am still pretty green to Linux so it might be a simple problem.
LoveJones is offline   Reply With Quote
Old 09-26-2002, 01:45 PM   #2
Member (9 bit)
 
Join Date: Jan 2001
Location: East Coast, USA
Posts: 320
Send a message via AIM to TMAN
Double post. See my reply in the alternative operating systems forum.
TMAN is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 12:23 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2