I'm just curious, what are the things that Visual C++ can do that Code::Blocks can't, and vice versa?
I'm sure far more people wonder this. Perhaps these answers deserve a Wiki page.
Since I sometimes switch between these two, I'd like to know if there are any incompatibilities and such. Thanks.
If you're worried about your actual code being incompatible, that comes down to which Code::Blocks compiler you are using.
If you are using the same compiler between Code::Blocks and Visual Studio, you don't have to worry as long as Code::Blocks and your project are set up properly.
If you are using different compilers you may have incompatibilities, as all compilers vary on how close they come to matching the C++ standard. Microsoft's compiler in particular is known for permitting code that isn't standard C++ and (less so with recent versions) not being able to compile code that
is standard C++. In this case, your wisest move is to turn all warnings on and keep the warning count at zero, so you don't develop a bad programming habit that one compiler just happens to let slip by.