I'm trying to figure out how to do input to variables without overflowing them. I have string variables to hold strings and int for numbers.
1. Is getchar() the most elegant way of taking care of a string with spaces? (And use arrays instead of string)
2. Should I use getchar() with integers aswell and convert the characters to integers after verifying that they are numbers?
3. I would like some kind of window system in my program. What do you suggest I use? (Windows, console)
Thanks.