I think I understand most of it.... So does it actually store passwords in a file? and where could i see that in the code so I could understand it better?
int LoadUsersFromFile(const std::string&...
Type: Posts; User: A13W
I think I understand most of it.... So does it actually store passwords in a file? and where could i see that in the code so I could understand it better?
int LoadUsersFromFile(const std::string&...
Ok, thank you very much.
Ok. Sorry i dont know what that means but, parse?
And so, for functions, could you give me an idea on how to break it up?
What I am working on ( My first program) is a password keeper that would store and hold your passwords for you and is basically user friendly. There is a problem which i am encountering however and...
What you need at the end of your program is
cin.ge(t()
because that will allow you to see who wins.
Ok ill look into that. So is that piece of code a good way to edit and create files outside the program or should i just make it into one file?
For one, I am also new to C++. And to fix your problem put a do while loop just above the
do{
cout<<"Welcome to your writers account\n";
and put the while at the very bottom...
This is a code I guess i could use to edit the variables in outside files, tell me how it looks:
#include <iostream>
#include <fstream>
using namespace std;
int input;
std::string...
Hm, would it be more logical to store all the passwords and password names in one file or is that hard to access and should be in all seperate files like:
master_password.txt
first_password.txt...
Yeah, thanks, Ill look into that. Im not like encrypting like SS numbers or stuff.
Ah I see. Thank's, I dont know very much on code etiquet since I just started. What I envision for this program, which I am still working on, is a program which when started will ask for a master...
Hmm... So where in my code do you think I should work on spacing? The second switch should be more indented?
Password does nothing. I originally put it in there because I thought i needed it but it is unnecessary.
I update the code. Is it a good layout?
How do you put a value in for a string in the code, what is the format?
Like
int a;
int a = 5
but for strings.
Thank you very much everyone for the help. It is very much appreciated.
Thank you. I have one last question though if you could answer it. If you are getting annoyed then just ignore it but when you said that dynamic memory is deallocated when you machine restarts does...
Thank you so much. It dosent seem to run in the ide but clicking on the exe makes it work. And dynamic memory, the makes memory that is permenent until you delete it? It was not clear on the FAQ.
Could it be a problem with my compiler? I use codeblocks and i copied the code from the thread and it still dosent work. Same thing as said in im original post.
This may be some really stupid small problem, but I wrote a piece of code that would store passwords. It is really simply and not entirely done but I was wondering what the problem is with it. On...
Thank you very much.
Sorry for the Grammar. Is there any ways to store them together or for like a password would you have to have:
int first_number = 1;
char first_letter = a;
int second_number = 2;
char...
So you kind of route the char foo which is = to a through a int so its a char variable in a int variable then route i back through another char variable so then how do you add int into.
But not both. Im sorry for asking so many questions but how would you convert it and how does that allow both characters and integers?
I dont know much about strings. What exactly are they? They store like words right?