Haha, I just realized you might be actually typing the ">" in ">test.exe".
The ">" is just supposed to represent the prompt.
Just type: test.exe
to run the program.
Sorry about that.
-Walter
Search found 158 matches
- Sun Feb 22, 2009 1:44 am
- Forum: Programming Discussion
- Topic: Command Line Arguments in C++
- Replies: 10
- Views: 942
- Sat Feb 21, 2009 2:44 am
- Forum: Programming Discussion
- Topic: Command Line Arguments in C++
- Replies: 10
- Views: 942
Re: Command Line Arguments in C++
Hmm, I just compiled your code and it runs perfectly. What exactly are you doing when you run it from the command line? And what error are you getting?
Could you copy and paste the output after running the program from the prompt?
Could you copy and paste the output after running the program from the prompt?
- Fri Feb 20, 2009 10:20 am
- Forum: Programming Discussion
- Topic: help, C problem
- Replies: 4
- Views: 642
Re: help, C problem
Could you post your main() function too? Also, you need to return an int from wait(), or change it to void wait().
- Thu Feb 19, 2009 10:36 pm
- Forum: General/Off-Topic
- Topic: I love
- Replies: 31
- Views: 3519
Re: I love
British Cardiovascular Intervention Society?Its alot better than bcis! i fucking hate bcis
- Thu Feb 19, 2009 10:25 pm
- Forum: Game Development
- Topic: Caution: Extreme noobishness.
- Replies: 16
- Views: 2254
Re: Caution: Extreme noobishness.
DirectX works natively with C/C++.
DirectX SDK
DirectX SDK
- Thu Feb 19, 2009 8:36 pm
- Forum: Programming Discussion
- Topic: Command Line Arguments in C++
- Replies: 10
- Views: 942
Re: Command Line Arguments in C++
Ok i get the part about how you call the program through the command prompt now but i'm having trouble calling the function. When i try it i get test.exe is not a recognizable command. OK, when you open the command prompt, type: >cd [Path to folder containing executable file] and press enter. then ...
- Wed Feb 18, 2009 8:56 pm
- Forum: Programming Discussion
- Topic: Command Line Arguments in C++
- Replies: 10
- Views: 942
Re: Command Line Arguments in C++
Command line arguments are the parameters you pass in to your program when running it from a command prompt. For example, if you program executable file is a.out, you would call it like this: $./a.out If you want to pass an argument to it, say your name, you could do this: $./a.out myname where myna...
- Wed Feb 18, 2009 6:50 pm
- Forum: General Gaming
- Topic: John Carmack bitch slaps PSP and DS, favors DC and iTouch
- Replies: 32
- Views: 2990
Re: John Carmack bitch slaps PSP and DS, favors DC and iTouch
C++ on iPhone:
http://iphonedevelopertips.com/cpp/c-on ... art-1.html
EDIT: Oh, and here's the rest of the parts: http://iphonedevelopertips.com/cpp
http://iphonedevelopertips.com/cpp/c-on ... art-1.html
EDIT: Oh, and here's the rest of the parts: http://iphonedevelopertips.com/cpp