delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/01/06:47:02

From: "Mike" <hoofenit AT ris DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: First Time Use Help!
Date: Wed, 1 Nov 2000 04:34:24 -0700
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <svvvtrb12tcf70@corp.supernews.com>
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
X-Complaints-To: newsabuse AT supernews DOT com
Lines: 31
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi everyone,

I am installing and using for the first time RHIDE v 1.4 on Windows ME and I
am having some problems getting my code to run. It compiles OK but I can't
link it. What must I do?

Code saved as myfirst.cpp


#include <iostream>

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

error messages are:
  myfirst.o: in fucntion main;
 myfirst.cpp(.text+0X10): multiple definition of main;
"                                        " first defined here




Mike Schnobrich





- Raw text -


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