www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript
electronics



c++ - starting out

↑ ↓ ← 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
↑ ↓ → 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