+ 2
How does the compatibility of c++'s codes works?
I sent some codes to a friend of mine to make the layout, but i have a mac and he has a PC, but when he tried to execute the code he got a lot of errors messages about variables not declared and also a problem with a line of the library warning.h.It perfectly works on my mac, what's the problem?
2 Respostas
+ 1
You both use the compiler following the ANSI CPP standards. GCC compiler is one of them. Your problem will be sorted.
0
You both can try same c++ compiler. Or which compiler you use recommend you friend to install on his PC of same build and number.