Path: utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!usc!snorkelwacker!bloom-beacon!eru!hagbard!sunic!ericom!eua.ericsson.se!euakan From: euakan@eua.ericsson.se (Theo.Kanter) Newsgroups: comp.lang.c++ Subject: Zortech C++ v2.1 doesn't like me.. Summary: ZTC++ v2.1 won't link a simple sample program. Keywords: c++, programming, Zortech, bugs Message-ID: <1990Sep21.120431.16851@eua.ericsson.se> Date: 21 Sep 90 12:04:31 GMT Sender: news@eua.ericsson.se Distribution: comp.lang.c++ Organization: Ellemtel Telecom Systems Labs, Stockholm, Sweden Lines: 29 The Compiler reference handbook contains a sample program on page 116 on how to access DOS command parameters. My program is similar and even simpler: // re.cpp #include main(int argc, char *argv[]) { } The command 'ztc re.cpp -o re' is successful until it comes to BLINK, which spits out something like: 'there exist multiple definitions of the symbol _main in your program', but more cryptic. What could possibly be *wrong* with such a trivial program?! Thanks in advance for any leads, which may solve this puzzle. ----------------------------------------------------------------------- Theo Kanter ELLEMTEL Telecommunication Systems Laboratories Box 1505, S-125 25 [lvsj| (AElvsjoe), Sweden Office: +46 8 727 35 93 Fax : +46 8 647 82 76 Telex : 12452 EUA S Mail : Theo.Kanter@eua.ericsson.se