Lesson 36
Unlock this lesson
Create a free account, then buy the course to open every lesson.
What you will learn in this lesson
- Send information to a program on the same line that starts it.
- Read it inside main with argc and argv.
- Pass a value with spaces, using double quotes.
- Print a usage message when the user forgets something.
- Turn text like "85" into a number with atof, atoi and strtol.
Everything in C Programming: BCA, MCA, BTech & O Level
- 37 step-by-step lessons
- 10 mini projects with solutions
- A final project for your portfolio
- Real commands and real output in every lesson
- Practice task with a solution in each lesson
- Progress saved to your account