hi .. im doin an assignment on edlin text editor..
while implementing the insert new line function i need to exit a loop when a key combination is pressed..
inside the loop there will be some lines reading input from the user..so will be somting like below
while( ? )
{
getline(........
}
for example when user presses "<ctrl> + c" it should exit the loop.
........i cant figure out how to implement this .... some one plz help me .... my assignment is due dayafter. ..thanks