I know this is programming questions but I\'m just frustrated trying to figure out what I\'m doing wrong..
I have an external library made using C code. I wish to call a function from the library in my c++ project. The original format of the function prototype was.
I have a class called fraction, and I\'m declaring some operators as friends. I declared the friend operators beforehand, as http://www.parashift.com/c++-faq-lite/templates.html#faq-35.16 told me to d
Consider the following: In X.h: class X { X(); virtual ~X(); }; X.cpp: #include \"X.h\" X::X() {} Try to build this (I\'m using a .dll target to avoid an error on the missing main, and I\'m us
Using Visual Studio 10 C++, I\'m having weird link error. For some reason references to a global object won\'t link to that global object. It is telling me a symbol is undefined yet when I have it vie
Each of these classes are in separate dll modules: class Base { public: virtual void foo(); void bar(); }; class Derived : public Base
I\'m getting an unresolved symbol error at linking in my proj. Im linking to an external library, and yes i have set up the configuration correctly, but when in Debug it outputs the following error fo
What are unde开发者_StackOverflowfined reference/unresolved external symbol errors? What are common causes and how to fix/prevent them?Compiling a C++ program takes place in several steps, as specifie