From: "Emiliano Baggiani" To: Subject: R: beginner question Date: Sat, 31 Jul 1999 18:13:08 +0200 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1161 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <19990731161545.CNKI7148.fep10-svc@nora0987> Reply-To: djgpp AT delorie DOT com Jurre Koning wrote : > > #include > > int main() > { > cout << "Tering het werkt!!\n"; > > return 0; // The end > } > > using the command line : > > gcc jurre.cpp -o jurre.exe > > gives the following error message : > > d:/djgpp/tmp\cccitg2h(.text+0x1d):jurre.cpp: undefined reference to 'cout' > d:/djgpp/tmp\cccitg2h(.text+0x22):jurre.cpp: undefined reference to > 'ostream::operator<<(char const *)' > try this gcc jurre.cpp -ojurre.exe -liostr -- Emiliano Baggiani ICQ Nickname Innuendo ICQ #29447269