Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Simple c# question

Name: Anonymous 2011-03-31 22:46

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?

Name: Anonymous 2011-03-31 22:53

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: Anonymous 2011-03-31 22:56

I have to get this done in c# specifically. Help, not advice, please.

Name: Anonymous 2011-03-31 23:32

>>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.

Name: Anonymous 2011-03-31 23:34

>>3
Then, google is your friend. You'll never learn nothing by asking help.

Name: Anonymous 2011-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.

Name: Anonymous 2011-04-01 0:10

>>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.

Name: Anonymous 2011-04-01 0:11

*[/spoiler]/prog/[/spoiler] - derp too much looking at the screen today.

Name: Anonymous 2011-04-01 0:12

well fuck me running
i fail at bbcode tonight

Name: Anonymous 2011-04-01 0:26

4chan, where the search for truth ends because of the stubborn belief of the populace that they've already found it.

Name: Anonymous 2011-04-01 0:35


                              /\/\/\/\       
                             /       /       
                            (. (.  )         
Console.WriteLine("Yo!")    (      ]         
                     \      /____  /         
                             \     |         
                             /-----\         
                           / /     /  \      
                         / \/       \/  \    
                       / / /           \  \  
                     ((()  /__________\ (/\)))
                            /         \      
                            |    /\    \     
                            ----| |----      
                            |__ |  \__ \     
                           {____|   {___}    
                    =======================/ 
                       (o)           (o)

Name: Anonymous 2011-04-01 0:35

One day we might have a discussion that doesn't involve someone saying "fuck you faggot."

Name: Anonymous 2011-04-01 0:40

>>12
fuck you faggot.

Name: Anonymous 2011-04-01 0:45

>>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.

Name: Anonymous 2011-04-01 0:50

>>14

or just use python. that'll make it easier for everyone: the python users AND the soon-to-be-python-users

Name: Anonymous 2011-04-01 0:52

>>15
fuck you faggot.

Name: Anonymous 2011-04-01 1:08

>>15
Hello newbie.

Name: BLACK HITLER 2011-04-01 1:50


    ░░░░░░░░░░░░░░░▄░░░░░░░░░░░░░░░
    ░░░░░░░░░░░░░▄▀█░░░░░░░░░░░░░░░
    ░░░░░░░░░░░▄▀░░█░░░░░░░░░░░░░░░
    ░░░░░░░░░▄▀░░▄▀░░░░░░░░░░░░░░░░
    ░░░░░░░░█▄░▄▀░░░░░░░░▄█▄░░░░░░░
    ░░░░░░░░█░▀▄░░░░░░░▄▀░█░▀▄░░░░░
    ░░░░░░░░▀▄░░▀▄░░░▄▀░░▄▀▄░░▀▄░░░
    ░▄░░░░░░░░▀▄░░▀▄▀░░▄▀░░░▀▄░░▀▄░
    ░█▀▄░░░░░░░░▀▄▀█▀▄▀░░░░░░░▀▄░█░
    ░█░░▀▄░░░░░▄▀░░█░░▀▄░░░░░░░░▀█░
    ░░▀▄░░▀▄░▄▀░░▄▀░▀▄░░▀▄░░░░░░░░░
    ░░░░▀▄░░█░░▄▀░░░░░▀▄░▄█░░░░░░░░
    ░░░░░░▀▄█▄▀░░░░░░░░▄▀░█░░░░░░░░
    ░░░░░░░░▀░░░░░░░░▄▀░░▄▀░░░░░░░░
    ░░░░░░░░░░░░░░░▄▀░░▄▀░░░░░░░░░░
    ░░░░░░░░░░░░░░░█░▄▀░░░░░░░░░░░░
    ░░░░░░░░░░░░░░░█▀░░░░░░░░░░░░░░
    ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
    ░█▄░█░█░▄▀▀▄░░█░░█░█▀▀░▀█▀░█░░░
    ░█░█▄░█░█░▄▄░░█▄▄█░█▄▄░░█░░█░░░
    ░█░░█░█░▀▄▄▀░░█░░█░█▄▄░▄█▄░█▄▄░
    ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░


glory BLACK AFRIKA
HEIL NIGGERS.
HEIL BLACK AFRIKA.
NIG HEIL BLACK HITLER!

Don't change these.
Name: Email:
Entire Thread Thread List