I have c++ project on Visual Studio 2010. I have a file A.h which has the prototypes of some functions and A.cpp file has the definitions of these functions. Also, main.cpp file includes the main method and includes the A.h. Everything is in global namespace without any classes. After I clean the project and build it gives me "error LNK2019: unresolved external symbol" for the functions defined in A.h and referenced in main.cpp. Then I add some space to a file(to make sure visual studio will compile because of the change), then compile and the errors disappear. How can I fix this?
Subscribe to:
Post Comments (Atom)
php - file_get_contents shows unexpected output while reading a file
I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...
-
I have an app which needs a login and a registration with SQLite. I have the database and a user can login and register. But i would like th...
-
I got an error in my Java program. I think this happens because of the constructor is not intialized properly. My Base class Program public ...
-
I would like to use enhanced REP MOVSB (ERMSB) to get a high bandwidth for a custom memcpy . ERMSB was introduced with the Ivy Bridge micro...
No comments:
Post a Comment