'Hello World' - window disappears as soon as I run.

This is a discussion on 'Hello World' - window disappears as soon as I run. within the C Programming forums, part of the General Programming Boards category; ^^lol or even Code: while(1);...

  1. #16
    Registered User linuxdude's Avatar
    Join Date
    Mar 2003
    Location
    Louisiana
    Posts
    926
    ^^lol or even
    Code:
    while(1);

  2. #17
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Quote Originally Posted by linuxdude
    ^^lol or even
    Code:
    while(1);
    There's some debate which is actually better. Something to do with the representation of 1, versus the empty for loop. Supposedly, the for loop is the preferred choice. (And if you leave out whitespace in both of them, it takes less characters to type.) But now we're a bit off topic.

    [edit]
    *chuckle* A visit to Google gives me this thread.
    [/edit]

    Quzah.
    Last edited by quzah; 09-15-2004 at 12:42 PM.
    Hope is the first step on the road to disappointment.

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. WM_CAPTION causing CreateWindowEx() to fail.
    By Necrofear in forum Windows Programming
    Replies: 8
    Last Post: 04-06-2007, 09:23 AM
  2. creating a child window
    By rakan in forum Windows Programming
    Replies: 2
    Last Post: 01-23-2007, 03:22 PM
  3. 6 measly errors
    By beene in forum Game Programming
    Replies: 11
    Last Post: 11-14-2006, 11:06 AM
  4. Pong is completed!!!
    By Shamino in forum Game Programming
    Replies: 11
    Last Post: 05-26-2005, 11:50 AM
  5. problem with open gl engine.
    By gell10 in forum Game Programming
    Replies: 1
    Last Post: 08-21-2003, 05:10 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21