how to make this work
#ifndef HEAD_H
#define HEAD_H
void function (ofstream*);
#endif
how to make a header and it's implementation file containing fuctions that use pointers to ofstream class objects as arguments, i've tried including fstream in head.cpp and head.h and main.cpp in all combinations, thinking that that's where the problem lies, but got nothing. please help.
#ifndef HEAD_H
#define HEAD_H
void function (ofstream*);
#endif
how to make a header and it's implementation file containing fuctions that use pointers to ofstream class objects as arguments, i've tried including fstream in head.cpp and head.h and main.cpp in all combinations, thinking that that's where the problem lies, but got nothing. please help.
Comment