Skip to content
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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

First Try. #4

wants to merge 3 commits into from

Conversation

Hallbomb
Copy link

@Hallbomb Hallbomb commented Feb 9, 2016

No description provided.

@Hallbomb
Copy link
Author

Hallbomb commented Feb 9, 2016

I GOT SOURCETREE TO WORK!!!!!!

@ninjapanzer
Copy link
Member

1947839656-7dbbfcf1f1

using std::string;

const string CONFIG_FILE_PATH = "/users/outla/Documents/WCCC/Semester 4/CPT-180/Assignment2/app.cfg";
const string blank = "";
Copy link
Member

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

Copy link
Member

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;
}
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants