I\'m following this tutorial for building a simple OpenGl application in C++ using QT. I\'m trying to compile the application using g++ and the command line but I get the following errors:
I have a shared object (.so) file compiled with g++, in Windows, its size about 2MB (.DLL, compiled with Visual Studio 2008, /O2), but in Linux, its size is 10MB if compiled with g++ -O2 flag.
My end-goal here is to execute g++ from my MSVC application to build dlls at runtime. The dlls which g++ creates will then be loaded by the MSVC app for use.
This is my Position.h file: #ifndef POSITION_H_ #define POSITION_H_ class Position{ public: Position(int v);
What is the difference between Apple gcc and GNU gcc? Is Apple gcc a superset of the standard one? The g++ version information in my OSX shows:
I\'m getting this error when using stl_vector.h. I\'m on Linux using g++ to compile. { if (max_size() - size() < __n)
Please help with the following noob question about C++ and g++ compilation and linking.Essentially I have 2 classes in 2 different files, and can compile them but when I attempt to link, one class can
I have a code similar to this: template<typename Ta, typename Tb> Ta doStuff(Ta a, Tb b) { ... return a/b;
Using the following code: #include <stdio.h> struct my_struct { int a; int b; my_struct(); }; my_struct::my_struct(void)
//for( unsigned int i=0; i < c.size(); i++ ) tolower( c[i] ); for_each( c.begin(), c.end(), tolower );