Mail Archives: djgpp/1999/01/23/12:45:02
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 -