FIND THE ANSWERS

How to read data separated by comma in c++?

Answer this question

  • How to read data separated by comma in c++?


Answers

Answer #1 | 20/12 2013 21:05
Consider using scanf. For instance, scanf(",%d", &x) means to read a comma and discard it, and then to read an integer into x. It will return the number of variables stuffed, in this case, 0 or 1.
Positive: 50 %

Possible answer