converting variables

D

Dan Pop

In said:
Hey! you snipped my "What's wrong with embedded spaces?" comment! I was
getting a lot of mileage out of that one!

If *properly* used, scanf has no problem handling embedded spaces. It's
just that %s is not the right conversion specification in this case.

Dan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,329
Messages
2,571,737
Members
48,544
Latest member
Zelex313

Latest Threads

Top