I am learning C and I\'m using \"getchar()\" to stop the command windows so I can see the exercises am doing but it just doesn\'t work. heres a sample:
#incl
you are getting a carriage return, the way i would get around it, define a char and just have it scan the carriage return,
char ch; (before your getch() enter the following) scanf("%c",&ch); getchar();
char ch;
scanf("%c",&ch); getchar();
should work this way, not the most efficient way to do this but works for me.