Hi gys how are you, I really need your help to understand the idea for putting some parameters with main function, it is like this ( int main ( int a , int b , char* c) )
what is this and when we use it and how!!! ... I really need to understand this
alsoumhi
0
Junior Poster in Training
Recommended Answers
Jump to Post>it is like this ( int main ( int a , int b , char* c) )
Then it's wrong. The main function only supports these two definitions:int main ( void ) { /* ... */ }
int main ( int argc, char …
Jump to PostYou're talking about command line parameters. Narue is correct. You can check out this information on how to use the command line.
All 5 Replies
Narue
5,707
Bad Cop
Team Colleague
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
alsoumhi
0
Junior Poster in Training
alsoumhi
0
Junior Poster in Training
Narue
5,707
Bad Cop
Team Colleague
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.