When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For more information use !howto ask.
6 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For more information use !howto ask.
Work on your file input-output. I've somewhat updated your code to work properly.
Your code is UB (undefined behaviour) since flushing an input stream is undefined behaviour
Please read this article: http://sekrit.de/webdocs/c/beginners-guide-away-from-scanf.html
i didnt understand it 😦
Mate! You asked this question already, and I already send you the same article: #1021029459727495178 message