November 1, 2005

Programming

Posted in [Ramblings]


#include < stdio.h >
#define NUS “No, U cant Sleep”

int main(void) {

int time; time = 0;
while ( time < 6 ){

printf ( “\n%s”, NUS);
}

return 0;

}


been studying programming for the whole night. Now my brain is not functioning well, but what to do, exam is on Wednesday and I’m 7 chapters away from where I’m supposed to be at. 14 chapters are not possible to be finished in one night… * sobs *



3 Comments »

The URI to TrackBack this entry is:

http://blacklighter.blogsome.com/2005/11/01/programming/trackback/

  1. That’s an infinite loop… Haha… will print forever until you are 80 years old, or untill the computer burst in flames :D

    (there is no time++, and time is not declared also) :D

    Comment by Jacky — November 13, 2005 @ 19:46

  2. On second thought, it will not run until you are 80 years old, because the program will not compile, not to say run lar.

    Comment by Jacky — November 13, 2005 @ 19:48

  3. Jacky : Yea… it is an infinite loop… cuz it was supposed to run forever… However, I sux in programming, so it doesnt matter… I don’t do C anyway…

    Comment by ~shadow~ — November 13, 2005 @ 20:21

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>



As spam is getting worse: Please retype the above text into the box provided. Thanks. Sorry for all the trouble. ;)