Hello
I have extensive experience with C and C++, including working with open source software.
This problem can be solved just be adjusting settings of your IDE
At first, there is question, what is IDE you use? Visual Studio? CodeBlocks? Dev-C++? Netbeans? Something else? Thanks
Also, there is alternate approach, not so elegant one.