delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/08/17:15:27

From: "Mikkel K Johnsen" <mjohnsen AT vip DOT cybercity DOT dk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: OH GOD HELP ME SOMEONE READ THIS!!!! S.O.S!!
Date: Mon, 8 Jun 1998 21:44:30 +0200
Organization: CyberCity Internet
Lines: 21
Message-ID: <6lhf10$41t$1@news.cybercity.dk>
References: <uazJYzok9GA DOT 235 AT upnetnews05>
NNTP-Posting-Host: 195.8.142.177
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

try to rename your file to hello.c then is´t a C file.

gcc hello.c -o hello.exe

hello.cpp is a C++ file and  you should use g++ to compile it.

g++ hello.cpp -o hello.exe

Bye Mikkel

xBUGSx wrote in message ...
>hey im new to C++ and got djgpp but once i write it out and go to make a
>.obj file useing gcc( i go to dos and go to the Gcc folder and type GCC
>hello.cpp -o hello.exe ) it wont work it doesnt say any errors and it
doesnt
>do anything but make my computer sound like its working please email me at
>Furlow1 AT msn DOT com
>
>


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019