I was tryin to compile this and i brought up several errors...
If you cannot tell me the problem without the errors let me know.
Code:#include <iostream.h> #include <string.h> int main() { struct person { string first_name; string second_name; int age; }; person num1; num1.first_name = "John"; num1.second_name = "Doe"; num1.age = "16"; cout << "Person 1: "<< num1.first_name<<" "<<num1.second_name<<endl; cout << "Age: "<<num1.age; cin.get(); return 0; }