How can enter numbers to compiler (argv[1]) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can enter numbers to compiler (argv[1])

16th Jan 2017, 6:36 PM
omar
omar - avatar
2 Answers
0
you need to convert input, if you need it in int you use the atoi() function in stdlib.h
16th Jan 2017, 10:37 PM
Mattias Eriksson
Mattias Eriksson - avatar
0
I know that but i wanna know when u compile it On the computer ./prog 5 I wanna do like this in this app
17th Jan 2017, 4:32 AM
omar
omar - avatar