Quote Originally Posted by The Unintelligible View Post
>I was set up on Netbeans using MinGW's GCC compiler version 4.6.2, and my friend was using DevC++ which uses MinGW's GCC version 3.4.2.

This appears to be your problem. Look at the disparity there - you're using a 4.6.x build of the recent GCC compiler w/ NetBeans (another fairly recent IDE) while your "friend" or whatever is using the heavily deprecated DevC++ IDE and an outdated GCC 3.4.x.

Just get on the same page. DevC++ sucks. He/she should be using the same or another modern C++ IDE for debugging code. Use the same compiler version because you always want to do that anyway when collaborating with others unless there's some ulterior reason for doing so otherwise.
Yeah, like I said there are issues with compiler differences.
The textbook for the programming class is a few years old and guides one through the installation of DevC++.
I prefer Visual Studio or Netbeans for C++ programming. What's your IDE of choice?