#include <iostream>
#include <string>
struct person
{
std:: string firstName;
std:: string middleName;
std:: string lastName;
std:: string streetAddress1;
std:: string streetAddress2;
std:: string city;
std:: string state;
std:: string zip;
} ;
void PrintPersonWithStream( const person& p)
{
std:: cout
<< "First Name: " << p.firstName << "\n "
<< "Middle Name: " << p.middleName << "\n "
<< "Last Name: " << p.lastName << "\n "
<< "Street Address 1: " << p.streetAddress1 << "\n "
<< "Street Address 2: " << p.streetAddress2 << "\n "
<< "City: " << p.city << "\n "
<< "State: " << p.state << "\n "
<< "Zip: " << p.zip << "\n " ;
}
int main( )
{
person me{
"Benjamin" ,
"Eugene" ,
"Key" ,
"12343 Some Street" ,
"Apt 826" ,
"Austin" ,
"Texas" ,
"78729"
} ;
PrintPersonWithStream( me) ;
return 0 ;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgoKc3RydWN0IHBlcnNvbgp7CiAgICBzdGQ6OnN0cmluZyBmaXJzdE5hbWU7CiAgICBzdGQ6OnN0cmluZyBtaWRkbGVOYW1lOwogICAgc3RkOjpzdHJpbmcgbGFzdE5hbWU7CiAgICBzdGQ6OnN0cmluZyBzdHJlZXRBZGRyZXNzMTsKICAgIHN0ZDo6c3RyaW5nIHN0cmVldEFkZHJlc3MyOwogICAgc3RkOjpzdHJpbmcgY2l0eTsKICAgIHN0ZDo6c3RyaW5nIHN0YXRlOwogICAgc3RkOjpzdHJpbmcgemlwOwp9OwoKdm9pZCBQcmludFBlcnNvbldpdGhTdHJlYW0oY29uc3QgcGVyc29uJiBwKQp7CiAgICBzdGQ6OmNvdXQKICAgICAgICA8PCAiRmlyc3QgTmFtZTogIiA8PCBwLmZpcnN0TmFtZSA8PCAiXG4iCiAgICAgICAgPDwgIk1pZGRsZSBOYW1lOiAiIDw8IHAubWlkZGxlTmFtZSA8PCAiXG4iCiAgICAgICAgPDwgIkxhc3QgTmFtZTogIiA8PCBwLmxhc3ROYW1lIDw8ICJcbiIKICAgICAgICA8PCA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