-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First Try. #4
base: master
Are you sure you want to change the base?
First Try. #4
Conversation
I GOT SOURCETREE TO WORK!!!!!! |
using std::string; | ||
|
||
const string CONFIG_FILE_PATH = "/users/outla/Documents/WCCC/Semester 4/CPT-180/Assignment2/app.cfg"; | ||
const string blank = ""; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Constants are always UPPERCASE_SNAKE_CASE
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BTW this is an amazing idea 👍
getline(cin, name); | ||
}else{ | ||
cout << "You Must Enter a Name" << endl; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This construction does not persistently ask the user for the value if they enter a blank one. Should be a while loop.
No description provided.