• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 183
  • Last Modified:

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?
1 Solution
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.

Join & Write a Comment

Featured Post

Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now