delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/24/17:30:44

From: Alexey Zakhlestine <alx AT gs707 DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Hello World
Date: Fri, 25 Feb 2000 00:48:46 +0300
Organization: MTU-Intel ISP
Lines: 20
Message-ID: <38B5A73E.12CA3FC5@gs707.com>
References: <8625688F DOT 0072245A DOT 00 AT hooper2 DOT licor DOT com>
NNTP-Posting-Host: ppp105-98.dialup.mtu-net.ru
Mime-Version: 1.0
X-Trace: gavrilo.mtu.ru 951429027 5706 212.188.105.98 (24 Feb 2000 21:50:27 GMT)
X-Complaints-To: usenet-abuse AT mtu DOT ru
NNTP-Posting-Date: 24 Feb 2000 21:50:27 GMT
X-Mailer: Mozilla 4.7 [en] (Win95; I)
X-Accept-Language: ru
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

First.... Your program should look like:

#include <iostream>
using namespace std;

int main(void)
{
   cout << "Hello World!\n";
   return 0;
}

Second. You should compile it with the foolowing command:

gxx -c -Wall Hello.cpp

--
Hi, I'm a signature virus. plz set me as your signature and help me spread
:)


- Raw text -


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