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 still need to proivde an implementation of it at link time. Assuming that with input.h, you also have an input.cc, you need to change > g++ main.o -o main into g++ -o main main.o input.o HTH, Ray -- UNFAIR Term applied to advantages enjoyed by other people which we tried to cheat them out of and didn't manage. See also DISHONESTY, SNEAKY, UNDERHAND and JUST LUCKY I GUESS. - The Hipcrime Vocab by Chad C. Mulligan