simes,
No worries 
How do I read the blank line? Using scanf and cin the app just sits waiting, it's not reading the blank line.
int getInt()
{
char s[10];
cin >> s;
printf("-%d-\n",s[0]);
return atoi(s);
}
I put the above sample together, it won't print anything for the blank line though. The other method was replacing the cin line with scanf("%s", &s);