Read array of ints in C
I need a help with reading from stdin in C something like this: It is array of ints separated by space like this 32 342 354 231 3开发者_StackOverflow4.... so I need to read every number into array of ints and I have the number of numbers.
Hope that someone can help, Sincerely, Stefan Hacko
Do you know how many ints you need to read? Try the scanf function.
精彩评论