thanks again for the help! ok well i can modify your code to fit the extra collums that ill need for the 2nd example and i think that im good now oh what does
char name[80];
exatcly mean btw?
Type: Posts; User: Snej-coder
thanks again for the help! ok well i can modify your code to fit the extra collums that ill need for the 2nd example and i think that im good now oh what does
char name[80];
exatcly mean btw?
well i wrote it wrong before the way it appears in the file is like
1 , username , password
2 , username , password
and
1 , username , 4 , data , moredata <---its seperated by a space then...
#include <sstream>
#include <fstream>
#include <iostream>
#include <string>
using namespace std;
int main() {
ifstream infile("in.txt");
ofstream outfile("out.txt");
thanks! ill try that
-----First example-----
1,firstguy,hispassword
2,nextguy, hispassword
------------------
i want to change numbers here and add a 10000 to front of them so it would read