I'm have an error on this program
#include <iostream>
#include <string>
using namespace std;
struct Employee
{
char lastname[50];
char firstname[50];
string ssn;
int month;
int day;
int year;
};
int main()
{
Employee oneEmployee = { "Maxwell", "Houser", "423-23-2342", 3, 23, 1977};
cout << " The first Employee is :"
<< oneEmployee.lastname << " ,"
<< oneEmployee.firstname << " "
<< oneEmployee.ssn << " "
<< oneEmployee.month << "/"
<< oneEmployee.day << "/"
<< oneEmployee.year << endl;
return 0;
}
can anyone help me ...