Agreed. I hate when people don't comment their code. The best was when I worked for this company, which had Taiwanese coders. Holy crap!C++ can definitely look confusing. I hate looking at other people's code here at work, especially when they don't comment... I guess thats their version of job security.
Thats one of my least favorite things to do when I am coding. Our teacher obviously wants us to comment on everything. So I finally get done with a program, and now I have to make sure all the comments are there. Takes forever
struct residentRec {
string social;
string lastname;
string phone;
char typephone;
char initial;
};
const int MAX = 500;
residentRec resinfo[MAX];
How can I pass this record to another function? Right under this code is the loop for adding user inputs. I am having trouble displaying the output.
Enter your email address to join: