• C

Simple syntax one..here!

I have left my books at home and have forgotten how the syntax looks for passing a program parameters from the command line.
E.G. int main(argc something, argv something[])
Can you help?
Who is Participating?
Ant031898Connect With a Mentor Commented:
The syntax is:
int main(int argc,char* argv[]) {
hope that helps
martincollisAuthor Commented:
I know its a simple problem, but thanks all the same.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.