thnx a lot!!! (not)
this is right huh,
Code:
#include <iostream>
#include <fstream>
#include <cstdio>
using namespace std;
int main()
{
int input[30];
cin>>input;
if(strcmp(input, "1") == 0)
{
ofstream a_file("test.ini");
cin>>input;
a_file<<input;
a_file.close();
}
else if(input==2)
{
ifstream b_file("test.ini");
b_file>>input;
cout<<input;
b_file.close();
}
getchar();
getchar();
return 0;
}
If you really wanna know Dev-C++ shows 69 errors instead of my 2 errors by that code,
explain it better, please?
-Noxir