Anyone see anything strange with this code? I'm basicly just setting up how I want it to look on the screen and for some reason the only one it goes through is strName, the rest skips.....?
Code:
#include "stdafx.h"
#using <mscorlib.dll>
#include <tchar.h>
#include <stdlib.h>
#include <iostream>
#include <conio.h>
using namespace std;
using namespace System;
#include <stdlib.h>
#include <cstring>
#include <iomanip>
int _tmain()
{
char strName;
char strNameA;
char strName3;
char strName4;
char strName5;
cout << "Alphabetical Order System \n\n\n";
cout << "Enter Name # 1: ";
cin >> strName;
cout << "\n";
cout << "Enter Name # 2: ";
cin >> strNameA;
cout << "\n";
cout << "Enter Name # 3: ";
cin >> strName3;
cout << "\n";
cout << "Enter Name # 4: ";
cin >> strName4;
cout << "\n";
cout << "Enter Name # 5: ";
cin >> strName5;
cout << "\n";
return 0;
}