Article View: pl.comp.grafika.grafika3d
Article #78449Re: [OT] Re: Gdybym zrobił sobie grę...
From: Kornel Kisieleiwcz
Date: Wed, 11 Aug 2004 23:29
Date: Wed, 11 Aug 2004 23:29
17 lines
1466 bytes
1466 bytes
- aartii - wrote:
> <ferdekk@vp.pl> wrote:
>
>
>> for(;;) {
>> if( GetAsyncKeyState(VK_LEFT) & 0x8000) idz_w_lewo();
>> if( GetAsyncKeyState(VK_RIGHT) & 0x8000) idz_w_prawo();
>> };
>
> Tak troche OT - dlaczego zaleca sie stosowac "for(;;)" - jak Ty,
> zamiast "while(1)"?
Eee tam zaleca. To zależy od kompilatora. A co do odpowiedzi, przyjrzyj się
wygenerowanemu asmowi.
pozdrawiam,
Kornel Kisielewicz
Technical Details
Message-ID:
<cfe9hu$b4n$1@bandai.magma-net.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.magma-net.pl!not-for-mailReferences:
<cf1v5b$pqq$1@nemesis.news.tpi.pl> <0c9d.000008cf.41177b11@newsgate.onet.pl> <cf8i75$1v5$1@nemesis.news.tpi.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.magma-net.pl!not-for-mail From: "Kornel Kisieleiwcz" <charonNOSPAM@magma-net.pl> Newsgroups: pl.comp.grafika.grafika3d Subject: Re: [OT] Re: Gdybym zrobił sobie grę... Date: Thu, 12 Aug 2004 01:29:34 +0200 Organization: Magma Systemy Komputerowe Lines: 19 Message-ID: <cfe9hu$b4n$1@bandai.magma-net.pl> References: <cf1v5b$pqq$1@nemesis.news.tpi.pl> <0c9d.000008cf.41177b11@newsgate.onet.pl> <cf8i75$1v5$1@nemesis.news.tpi.pl> NNTP-Posting-Host: 192.168.20.168 X-Trace: bandai.magma-net.pl 1092266366 11415 192.168.20.168 (11 Aug 2004 23:19:26 GMT) X-Complaints-To: usenet@news.magma-net.pl NNTP-Posting-Date: Wed, 11 Aug 2004 23:19:26 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit