Ok, here's cortana in her latest state... not impressive. Well I'm now getting linker errors with her... why, why cppprogramminggod, why?!!? Anybody now what's wrong?
Ok, here's cortana in her latest state... not impressive. Well I'm now getting linker errors with her... why, why cppprogramminggod, why?!!? Anybody now what's wrong?
Change those function return types Salem showed, And change
in "cort.h" <iostream.h> to <iostream> and <fstream.h> to
<fstream>.
--
Ok, so I did those things. I still get the exact same errors. Did these changes actually work for you? And I've now gotten rid of the .h for a couple programs now, by the advice of people, what does this do? Any other suggestions?
<iostream.h> is old, To replace it and still have backward
compatibility they named the new iostream to <iostream>,
Same with fstream, What linking errors do you get?
--
I'm using Visual C++ 6.0, the errors I'm getting are:
Code:main.obj : error LNK2001: unresolved external symbol "public: void __thiscall cortana::find_names(void)" (?find_names@cortana@@QAEXXZ) Debug/Cortana.exe : fatal error LNK1120: 1 unresolved externals
Are you sure you included "funcdef.cpp" in your project?
Because the linker can't find the function.
--
vc++ has them linked as a project, but I'll try that. Hmmm... that seems to screw the program more... Now functiondef.cpp can't sense the header file. I don't think old bessy likes cortana.
Build->Clean
Build->Rebuild All