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 commit #5

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

Conversation

sshurie
Copy link
Member

@sshurie sshurie commented Feb 9, 2016

First commit with just the "init" function. "Edit" to come soon. Output file included

… the file input worked out. It doesn't store the right values when reading the file

void init() {
const int SIZE = 5;
const string HEADERS[SIZE] = {"[Name]","[E-mail]","[Password]", "[Timezone Offset]", "[File Path]"};
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WOW

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wha?

…to config file. Removed extra tab characters and users are now given another chance to enter arguments instead of simply terminating the program.
<< "\"password\", \"timezone\", \"filepath\"";
cin >> arg2;
}
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

4300531

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lol! I know, it looked fine in CLion, I'm not sure what happened from there to here

cin >> arg1;
}while(arg1 != "init" && arg1 != "edit");
if(arg1 == "init"){
init();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love this extra coverage for the user 👍

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.

4 participants