I do agree on the fact that he is a beginner and that you shouldn't take him down. But on the other hand, imagine how disastrous this section would be if anyone who learns basic io comes here and showcases his program.
Few suggestions:
Code:
char a[100];
char b[100];
char c[100];
char d[100];
char e[100];
Is just disgusting IMHO.
Code:
char a[100], b[100], c[100], d[100], e[100];
Is way neater.
Check getline to make sure the input length doesn't go over what you're expecting (in this case, 100 chars)
Code:
if(cin.getline(a, 100).fail()) return EXIT_FAILURE;
Use a cross-platform library like Qt to make windowed apps instead of stupid VB.NET.
That's all I can suggest, good luck and in the future please post only when you have something actually useful.
PS: your thread title doesn't make any sense