开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜