my C++ code:
#include
#include
#include
using namespace std;
int main()
{
char a[128]="**** the truth!";
cout<
ofstream outfile("temp.txt",ios::out);
for(int i=0;i<=127;i++)
{if(a[i]!=NULL)outfile<
outfile.close();
char b[128];
ifstream infile("temp.txt",ios::in);
for(int j=0;j<=127;j++)
{infile>>b[i];}
cout<
infile.close();
return 0;
}
result:
**** the truth!
烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫!烫烫烫烫
烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫蘁
2007-03-20
02:19:28
·
1 answers
·
asked by
gardenants
1
in
Computers & Internet
➔ Programming & Design