How can i do scanf's in just one line? because example first i will input a number then i will press enter then the cursor will go to the next line. how can i maintain the cursor in just one line? thank you
ronnel09
0
Newbie Poster
Recommended Answers
Jump to PostType everything on one line, then press enter. scanf() is natrually designed to handle this kind of input unless you go out of your way to ensure that each number is on a separate line.
But even then, after you hit enter the cursor will move to the next line. …
All 3 Replies
deceptikon
1,790
Code Sniper
Team Colleague
Featured Poster
_avishek
29
For as long as space endures
deceptikon
1,790
Code Sniper
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.