Ask
your own question, for FREE!
Computer Science
64 Online
OpenStudy (fellowroot):
C programming I need to know how to read this data into a program that I wrote. The data normally is entered in by hand, but now this same data is in a file. I need to know how to get the computer to read each value just as a person would be entering it in. Here is the data 21 25 30 30 10 12 55 60 -1 /* this is the flag to end inputting the assignment data */ 21 25 30 30 10 12 21 25 30 30
Still Need Help?
Join the QuestionCove community and study together with friends!
OpenStudy (anonymous):
you can use fscanf -> in "C" and cin for a file stream -> in "CPP" loop it, and check for the first number.
Can't find your answer?
Make a FREE account and ask your own questions, OR help others and earn volunteer hours!
Join our real-time social learning platform and learn together with your friends!
Join our real-time social learning platform and learn together with your friends!
Latest Questions
Wolf95:
Would anyone miss me if I kill myself tonight, would anyone care if I did Knowing
1 hour ago
6 Replies
1 Medal
Arizona:
i am bord so dopes anyone know any apps the schools maybe did not block
3 hours ago
1 Reply
1 Medal
Subshilava:
Asian elephants and African elephants have a common ancestor. Over time, genetic differences between them developed as a result of natural selection, Look a
3 hours ago
2 Replies
1 Medal
BexleyBrooks:
Algebra Applications with Angles: Solve for the variable and find the measure of
4 hours ago
4 Replies
0 Medals
Serolitovmaytasho:
Can someone please help me with proofreading what I've written so far? https://www.
4 hours ago
2 Replies
1 Medal