dark_legacy2006
New Member
alright so heres the deal im interested in learning to program
-ive chosen my compiler
-ive found some tutorials (very basic)
and im sure everyone knw the most commmon program is "Hello World"
the compiler porgram i am using is Dev-C++ and this is what it looks like (same as tutorials)
#include <stdio.h>
int main()
{
printf("Hello World\n");
return 0;
}
few questions
1 how do i run this program, ive compiled it and when i go to run it a black box pops up and closes
2. IS the very first line neccessary
help appreciated this is somthing i am interested in
thanks in advance
-ive chosen my compiler
-ive found some tutorials (very basic)
and im sure everyone knw the most commmon program is "Hello World"
the compiler porgram i am using is Dev-C++ and this is what it looks like (same as tutorials)
#include <stdio.h>
int main()
{
printf("Hello World\n");
return 0;
}
few questions
1 how do i run this program, ive compiled it and when i go to run it a black box pops up and closes
2. IS the very first line neccessary
help appreciated this is somthing i am interested in
thanks in advance