My original cpp file was getting cluttered, so I broke off a set of functions into a new cpp file. The original cpp file won’t compile now because it can’t find the functions.
I am not using classes and declared the functions as public. This would be fine in good old VB, but ain’t kosher now. What am I doing wrong?
Error2error C3861: 'ForceNumToString': identifier not found c:\test\main.cpp91
This function is declared in c:\test\conversionfunctions.cpp.
(It is not supposed to be an externally available function, it is just a regular function that I wanted moved to a new file because main.cpp was getting cluttered.)
Related posts:








2 responses so far ↓
1 JoelKatz // Aug 7, 2008
It sounds like you forgot to make a header file. The compiler shouldn’t need to find the functions, it should just need to know what type they return and what parameters they take.
Paste the exact error message.
2 nevrforget911 // Aug 7, 2008
Ya like the other guy said. All the u need to do is build the header file and make shure that your useing the dll’s correct and it should be fixed. O ya remeber to include the header file in the correct cpp files
Leave a Comment