Some errors you might encounter when you compile with code::blocks.
warning: implicit declaration of function ...
It seems that your header files have no prototype declared for some of the functions.
In this case, the function itself is implicitly treated as the function prototype.
suggest parentheses around assignment used as truth value ...
You need to add some parentheses. If your code is like :
while( res = function())...
…then the code will be:
while((res = function()))