does anyone have idea how should new line charchter will be read by getch function... my code is give below, but it not working properly...
char ch[100];
while ( ch!='\n')
{
ch=getch();
cout << "$";
}
does anyone have idea how should new line charchter will be read by getch function... my code is give below, but it not working properly...
char ch[100];
while ( ch!='\n')
{
ch=getch();
cout << "$";
}