delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/23/12:45:02

Message-ID: <36A9A62D.18E35329@mbox2.singnet.com.sg>
Date: Sat, 23 Jan 1999 18:36:29 +0800
From: "| õ¿õ | õ¿õ | õ¿õ | õ¿õ |" <cdman AT mbox2 DOT singnet DOT com DOT sg>
X-Mailer: Mozilla 4.03 [en] (Win95; I)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Some Questions?
References: <005101be4515$5b574bb0$293f8589 AT GV015029 DOT nera DOT no>
<36A73865 DOT 766DD073 AT mbox2 DOT singnet DOT com DOT sg> <EoaTPHDhUPq2EwC8 AT xemu DOT demon DOT co DOT uk>
Reply-To: djgpp AT delorie DOT com

hi there,
            when i compile my C++ program, it was fine for the first exercise that
i do(rev_6.o) then i went on continuing to compile rev_7.o. There was no error at
all. But when i run it, it prompt me these error. How to correct it.

creating aout.exe
Error: Rev_7.o: In finction 'main'
Error: Rev_7.cc(.text+0*24): multiple definition of 'main'
Error: Rev_6.o(.text+0*20): rev_6.cc first defined there.

I got to exit rhide, then go back in to compile my homework. Is there any way to
correct it so that i will not have to exit and go back to rhide everytime??
thank!
--
==========================
| õ¿õ | õ¿õ | õ¿õ | õ¿õ |
Email: cdman AT mbox2 DOT singnet DOT com DOT sg
Eight => Galaxynet => #milkbar
UIN: 6930385
==========================



- Raw text -


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