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

Pages: 1-

help with a loop

Name: Anonymous 2010-10-04 8:12

In a console application with C#, i want to do a DO WHILE that continue until i press a key... How can i do?

Name: Anonymous 2010-10-04 8:16

Try learning the language.

Name: Anonymous 2010-10-04 8:19

>>2
Thanks, I'll try that.

Name: Anonymous 2010-10-04 8:22

  ∧_∧   ∧_∧   ∧_∧   ∧_∧    ∧_∧
 ( ・∀・)( `ー´)( ´∀`)( ゚ ∀゚ )( ^∀^)
 (    つ┳∪━━∪━∪━━∪━∪━∪━┳⊂     つ
  | | |  ┃This thread has ended peacefully.┃ | | |
 (__)_) ┻━━━━━━━━━━━━━━┻ (__)_) 

Name: Anonymous 2010-10-04 8:30

try
using System.Threading;

do
{
///                       
}                    while(Console.KeyAvailable == false);

Name: Anonymous 2010-10-04 8:30

try:


try
using System.Threading;

do
{
///                      
}                    while(Console.KeyAvailable == false);

Name: Anonymous 2010-10-04 8:31

>>6
That's perfect! Thanks a lot!

>>3
Get a life!

Name: Anonymous 2010-10-04 8:39

>>7
Do leave the == false in there so people can just grep for common symptoms of shit programmers without having to read the code itself. It's always nice to know in advance when it will be less painful to rewrite it from scratch than to try to fix the inevitable problems you will create.

Name: Anonymous 2010-10-04 9:09


using System.Threading;

do
{
//
} while(!Console.KeyAvailable);

Name: Anonymous 2010-10-04 10:21

>>8
Has someone bothered to make a script that evaluates the shittiness of a programmer based on some ``common symptoms''?

Name: Anonymous 2010-10-04 11:01

>>10
By necessity, a script that suitably fulfills that purpose must rate itself as shitty as well.

Name: Anonymous 2010-10-04 11:04

>>9
Why are you helping him you stupid faggot?

Name: Anonymous 2010-10-04 11:17

>>10
Might be interesting to do something like that using Markov discrimination.

Name: Anonymous 2010-10-04 11:36

>>10
There is FindBugs program that does it. Of course it's written for Java.

Name: Anonymous 2010-10-04 13:12

>>12
To fuck with niggers like you. HAHAHA ENJOY MOTHERFUCKER

Name: Anonymous 2010-11-28 16:12

Name: Anonymous 2010-12-06 9:54

Back to /b/, ``GNAA Faggot''

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