I'm kind of new to programming, how does one read a single button press from the keyboard, and then check to make sure that it's a printable character?
Also, how does one take a integer input from the keyboard? More specifically, how do I force the user to retry their input until it's a number I accept?
Don't start with C#, dude, it'll ruin you as a programmer. Start with one of {Pascal, Scheme/SICP, Python}, then do C and assembly. Then maybe, maybe you will be a good programmer someday years from now.
Name:
Anonymous2011-03-31 22:56
I have to get this done in c# specifically. Help, not advice, please.
>>3
If you don't want to take our advice, you will become a shit programmer. We don't need any more of those in the world. So go fuck off. I hope you fail your fucking assignment.
>>3
Then, google is your friend. You'll never learn nothing by asking help.
Name:
Anonymous2011-04-01 0:03
You both sound foolish as hell. Asking others who know more has been and will remain for a long time the easiest way to learn. Poster 4? Why so angry? Calm down, you'll get sweaty, and everyone knows you smell like ass when you sweat.
>>6
Welcome to [spoiler]/prog/[/prog]. You must be new here.
Let me spell it out for for you: we are not here to do your homework for you.
Secondly: Listen to these men >>2,4 as they speak the truth. If you can't handle the truth I cordially invite you to go sodomize yourself.
>>12
We could discuss on how C++, C# and Java are two bad examples of Object Oriented language, and how a pure, yet simple, message-passing OO-system (like Smalltalk's), or a massive multidispatch system like CLOS are much better.
But, you know, fuck you faggot.