Well, I'm starting to get into C++ and well.. The only commands I know are simple I\O commands, so, I've programmed in C and if you know C you know that in windows.h you can do say System(""); to execute somthing in the command prompt.
The thing is, I don't know what's what.
For example..
Say there's a command like
System("");
Well, how do I know and access the paremetters of this command?
Also, I'm using Visual C++ 6.0.
Petrock6
0
Newbie Poster
Recommended Answers
Jump to Post>if you know C you know that in windows.h you can do say
>System(""); to execute somthing in the command prompt.
Actually, the system function (no caps) is declared in stdlib.h, and it's not restricted to Windows. However, the string you pass represents a command string that you would use …
Jump to PostWell, how do I know and access the paremetters of this command?
In general, look into the documentation of each of the functions that you are to use. If you installed MSDN along with VC 6, you already have a lots of documentation on your computer.
On internet, there are …
All 6 Replies
Narue
5,707
Bad Cop
Team Colleague
Petrock6
0
Newbie Poster
mitrmkar
1,056
Posting Virtuoso
Narue
5,707
Bad Cop
Team Colleague
Petrock6
0
Newbie Poster
mitrmkar
1,056
Posting Virtuoso
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.