Okay. I will be typing code. Lets say I am going to type in this:
Code:
#include <iostream>
cout<<"Hello. Press the return key.";
cin.get();
cout<<"Thank You.";
cin.get();
So I start a new program, and start typing. As soon as I get to cin.get(); I encounter problems. When I hold the shift key and press the ), I get a box that says Oops! An unexpected error has occured in the program...
Address: 0x004ED722
Error message: Access violation at address 004ED722 in module 'devcpp.exe' Read of address 0000000C
And it's not only cin.get(); either, it happens at just about every important syntax meeting except at the end of cout<<"Message";
The only way I can work this way is to type in cin(); and then go back and type in .get afterwards. Also, my mouse just quit working, so I won't be able to find out what your response is until I can get a new one. Stupid wireless mouse. Put brand new batteries in it and it quits talking to the computer.