Question: explain this code to me in sentences. just like for q&a portion of our project int LRMenu() { system(cls); int choice_menu; string uname, pword; ofstream

explain this code to me in sentences. just like for q&a portion of our project

int LRMenu() { system("cls"); int choice_menu; string uname, pword; ofstream Username, Password; string command, name, password, inName, inPassword, registerName, registerPassword;

cout<<" -----------------------------------------"<>choice_menu; cin.ignore(); switch(choice_menu) {

case 1: { ofstream g("registration.txt"); if (!g.is_open()) { cout<<"could not open file "; return 0; } cout<<" HELLO NEW USER! " <<"New Username: "; getline(cin, registerName); cout<<"New Password: "; getline(cin, registerPassword); g<

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!