O
Ofloo
I would like to make an exe that parses the given info behind a exe to
a txt anyone who can confirm this don't know why but the thing just
freezes ??
0 errors on compile ?
// start source code <filename sparse.ccp>
// writing on a text file
#include <fstream.h>
#include <iostream.h>
int main () {
// set the parse file
ofstream sparsefile ("service.txt");
if (sparsefile.is_open())
{
int a;
int b;
int c;
int d;
int e;
int f;
cin >> a >> b >> c >> d >> e >> f;
sparsefile << a << "\n";
sparsefile << b << "\n";
sparsefile << c << "\n";
sparsefile << "\n";
sparsefile << d << "\n";
sparsefile << e << "\n";
sparsefile << f << "\n";
sparsefile << "<END>";
sparsefile.close();
}
return 0;
}
// end source code
a txt anyone who can confirm this don't know why but the thing just
freezes ??
0 errors on compile ?
// start source code <filename sparse.ccp>
// writing on a text file
#include <fstream.h>
#include <iostream.h>
int main () {
// set the parse file
ofstream sparsefile ("service.txt");
if (sparsefile.is_open())
{
int a;
int b;
int c;
int d;
int e;
int f;
cin >> a >> b >> c >> d >> e >> f;
sparsefile << a << "\n";
sparsefile << b << "\n";
sparsefile << c << "\n";
sparsefile << "\n";
sparsefile << d << "\n";
sparsefile << e << "\n";
sparsefile << f << "\n";
sparsefile << "<END>";
sparsefile.close();
}
return 0;
}
// end source code