I\'m trying to compile C and C++ sources together using GCC.
gcc -std=c++0x test.cpp -std=c99 test.c -lstdc++
Now, this works fine, except that
Instead of using gcc ,use g++.
That is for both type of files, .cpp and .c files.