I ended up finding a really good article on scanf and I was given a better way of tackling that task -- use a string instead and just reference the first element.
[quote author=Schotty link=board=9;threadid=10060;start=0#msg91282 date=1103395589]
Thanks. Its different enough from C++ that I get stuck. Usually with scanf crap. I hate how scanf works.
[/quote]
You are welcome. Yeah, in my opinion, cin is often a lot better for input than scanf().
I ended up finding a really good article on scanf and I was given a better way of tackling that task -- use a string instead and just reference the first element.
[quote author=Schotty link=board=9;threadid=10060;start=0#msg91311 date=1103495637]
I ended up finding a really good article on scanf and I was given a better way of tackling that task -- use a string instead and just reference the first element.
[/quote]
Yup, that would work as well!
Bookmarks