usr/bin/ld: cannot find -l<nameOfTheLibrary>?

I'm trying to compile my program and it returns this error : usr/bin/ld: cannot find -l&lt;nameOfTheLibrary&gt; i...

error C2059: syntax error :'}' when adding c source files to project?

I'm writing a C++ application in visual studio express for windows phone 8. I'm trying to use flite, a text to spee...

mysql.h file can't be found?

i'm trying to install connection between c++ and mysql in ubuntu 12.04. i've installed mysql-client, mysql-server, l...

fatal error: mpi.h: No such file or directory #include <mpi.h>?

when I compile my script with only #include &lt;mpi.h&gt; it tells me that there is no such file or directory. Bu...

while(a==b); vs while(a==b) {;}?

Is there a difference between the following pieces of code: while (a==b); while (a==b) {;} Does it make an impac...

C++ deprecated conversion from string constant to 'char*'?

I have a class with a private char str[256]; and for it I have an explicit constructor: explicit myClass(const cha...

libpng warning: iCCP: known incorrect sRGB profile?

I'm trying to load a PNG image using SDL but the program doesn't work and this error appears in the console libp...

Errors when trying to using vector?

At the top of my file main.h I have: #include &lt;vector&gt; class Blah { public: Blah(){} ~Blah(){} pr...

“Incomplete type not allowed ” when creating std::ofstream objects?

Visual Studio Throws this Strange Error: Incomplete type not allowed When I try to create an std::ofstream obj...

“Symbol(s) not found for architecture x86_64” on QtCreator project?

I'm getting the error Symbol(s) not found for architecture x86_64 Trying to compile a project on QtCreator. It ha...

What does _T stands for in a CString?

What does the "T" represents in a string. For example _T("Hello").I have seen this in projects where unicode support...

What is the most effective way to get the index of an iterator of an std::vector??

I'm iterating over a vector and need the index the iterator is currently pointing at. AFAIK this can be done in two ...

What does the term “empty loop” refer to exactly in C and C++??

Is it this kind of thing: for(;;) { statements; } Or is it this: for(initialisation;condition;updation) { }...

What is the difference between a .cpp file and a .h file??

Because I've made .cpp files then transfered them into .h files, the only difference I can find is that you can't #i...

System not declared in scope??

I know its simple code, How do I fix "System not declared in scope" problem? #include&lt;iostream&gt; using namespa...