I have a small function which should pause the console, but actually does nothing
void getch()
{
    fflush(stdin);
    getchar();
}
Also, I don't want to use system("pause") or scanf("%c", &temp)
I have a small function which should pause the console, but actually does nothing
void getch()
{
    fflush(stdin);
    getchar();
}
Also, I don't want to use system("pause") or scanf("%c", &temp)
 
    
    