Thread: TOTAL newb
View Single Post
  #1 (permalink)  
Old 05-15-2008, 04:27 PM
science science is offline
Newbie
 
Join Date: May 2008
Posts: 8
Credits: 0
Rep Power: 0
science is on a distinguished road
Default TOTAL newb

Alrighty, I borrowed a C programming book from my cousin to help me get into programming, and I downloaded a bloodshed compiler.

Ok, I typed out this simple function:

#include <stdio.h>

main ()
{
printf("hello, world/n");
}

compile it, save it as a C source file on desktop. I click on the desktop icon I just created to get my output, but the window with the output only pops up for like a millisecond! I need to it stay up, so I can move on the more advanced things where I might actually want to LOOK at my output.

Make sense? I know, I'm completely new to this. I hope you can help me.
Reply With Quote

Sponsored Links