It looks like you're new here. If you want to get involved, click one of these buttons!
and a file named "test.cpp" which contains the
printf("This is a test");
I can simply compile test.cpp, thus creating an obj file
in a particular directory, and then have yet another
file, "testi.cpp" including only the test.h file and
still be able to call the function test(), as long as
it is linked to the obj file, can't I? Unfortunately,
I get the linker error "Undefined symbol test() in
module testi.cpp." Am I doing something wrong? Thanks
for your help.