scanf returns the number of elements it's scanned in, so just do something like
if (scanf("%c %s", &char1, string)) == 2)
// both scanned
else
// either only 1 scanned or 0 scanned...
Type: Posts; User: cowboyclem
scanf returns the number of elements it's scanned in, so just do something like
if (scanf("%c %s", &char1, string)) == 2)
// both scanned
else
// either only 1 scanned or 0 scanned...
ultraedit is what i currently use - it's the best ive found for windows so far: http://www.ultraedit.com/
It takes a while to get set up, but once you do it's pretty slick.