This paper describes the development of a system for teaching C/C++ using a LegoTM NXT in a CSI college course on introductory programming. The programming of the NXT robot has been implemented using a C/C++ cross-compiler, which generates code that runs on an Open Source firmware platform, nxtOSEK. The system has built in commands and objects that run the motors and receive information from the sensors that are on the robots. The cross-compiler has been embedded in an Open Source Integrated Development Environment (IDE) Code::Blocks. The programming environment for the NXT has evolved from a previous development using the LegoTM RCX and has the advantage that it utilizes a Bluetooth interface, while the RCX uses a tower based infrared communication device. The NXT is more reliable and can be programmed to pair a specific interface with a particular robot, so that there is no cross-talk when different robots are utilized in a classroom setting. The IDE and robotic software executes on...