Re: c++ include problem (preprocessor directives)

1999-08-08 Thread David Teague
On Sat, 7 Aug 1999, Oleg Krivosheev wrote: > On Sat, 7 Aug 1999, Micha Feigin wrote: > > Subject: c++ include problem (preprocessor directives) > > > > In my files the headers are included like this: > > #ifdef NEWCPPH > > #include > > #else >

Re: c++ include problem (preprocessor directives)

1999-08-07 Thread Oleg Krivosheev
On Sat, 7 Aug 1999, Micha Feigin wrote: > Date: Sat, 07 Aug 1999 13:48:48 +0300 (GMT+0300) > From: Micha Feigin <[EMAIL PROTECTED]> > To: Debian-user > Subject: c++ include problem (preprocessor directives) > Resent-Date: Sat, 07 Aug 1999 10:45:21 + >

Re: c++ include problem (preprocessor directives)

1999-08-07 Thread J.H.M. Dassen \(Ray\)
On Sat, Aug 07, 1999 at 13:48:48 +0300, Micha Feigin wrote: > only then i get an error that the functions declared inside input.h can't > be found. The linker says: Preprocessing and linking are separate stages of the compilation proccess. Your .h file tells the compiler how input() looks, but you

c++ include problem (preprocessor directives)

1999-08-07 Thread Micha Feigin
In my files the headers are included like this: #ifdef NEWCPPH #include #else #include #endif #include #include #include "input.h" only then i get an error that the functions declared inside input.h can't be found. The linker says: g++ -o main.o -Wall -pedantic -c main.cpp g++ main.o -o