Storing data

Alright im making a rgram to log intoa system but I need it to store many things in the same folder, noe how would I have it to where it would cahck the data induvidualy such as a set of username and passwords

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <iostream>
#include <string>
#include <fstream>
using namespace std;

int main()
{

  cin >> username
  cin >> password

fstream inou;
string login;
inout.open(login);
?
inout.close()
}
Last edited on
Topic archived. No new replies allowed.