Hello, I have this code that runs perfectly on my Visual Studio 2010, but I now need it to compile on some free compiler, for a friend who doesn't have VS. I tried on regular GCC within Code::Blocks, but it won't pass, it gives a lot of strange errors.
Also tried with Borland C++, not working. Maybe its just a thing of changing it a bit?
The default mode of GCC is not C++11. You have to use option -std=c++11 (or similar, check the manual of the version of the GCC that you use).
When there are a lot of errors, the best bet is to look at the first of them. The rest can be just "collateral damage". Perhaps even show the error here (were are not able to analyze "strange" without details.)
He wants to continue developing the application and use the project I did as only the part of the entire code.
Also, he might want to make some slight changes in printouts etc...