Hi,
I'm writing a text editor program, but I need the enter key to go down a line instead of entering in data. Does anyone have any ideas? This is what I have:
#include <iostream.h>
#include <stdlib.h>
int main()
{
char mytext[256];
cin.getline(mytext, 255);
cout<<mytext<<endl;
}
Thanks