www.digitalmars.com         C & C++   DMDScript  

c++ - starting out

reply vlad <vlad610210 yahoo.com> writes:
ok.... i am completely new at this programing stuff, i just got
the compiler and i copyd and pasted a code i saw for the begginer
prgoram called helo world heres what i typed in it


#include <stdio.h>

main()
{
  for(;;)
      {
          printf ("Hello World!\n");
      }
}

now how do i compile that? or watever it is called to make run as
an exe file
Jun 15 2007
parent Bertel Brander <bertel post4.tele.dk> writes:
vlad skrev:
 ok.... i am completely new at this programing stuff, i just got
 the compiler and i copyd and pasted a code i saw for the begginer
 prgoram called helo world heres what i typed in it
 
 
 #include <stdio.h>
 
 main()
 {
   for(;;)
       {
           printf ("Hello World!\n");
       }
 }
 
 now how do i compile that? or watever it is called to make run as
 an exe file
If you look a bit back in this NG you will find some threads on that matter, e.g. http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=c++&artnum=5499 See: http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=c++&artnum=5502 Which has a few links even further back -- Just another homepage: http://damb.dk But it's mine - Bertel
Jun 17 2007