apeterson
05-01-2001, 09:22 PM
I've got a little problem... it's probably something really simple, but I can't seem to figure it out! First of all, I've made a file in vi and saved it hello.cc for a c++ program. Then, at the command prompt I typed:
g++ -o hello hello.cc
After that, there is what looks like an executable called hello in my folder, but if I type <i>hello</i> at the command prompt, it says the command can't be found (I'm not exactly sure what the error message is... I'm working on this at school, and I'm at home now). Does anyone have any suggestions? Thanks.
-Adam Peterson
Oh, one more thing. I'm certain I typed the c++ code properly, so don't assume that it might be the problem ;)
g++ -o hello hello.cc
After that, there is what looks like an executable called hello in my folder, but if I type <i>hello</i> at the command prompt, it says the command can't be found (I'm not exactly sure what the error message is... I'm working on this at school, and I'm at home now). Does anyone have any suggestions? Thanks.
-Adam Peterson
Oh, one more thing. I'm certain I typed the c++ code properly, so don't assume that it might be the problem ;)