write an C++ programme
来源:百度知道 编辑:UC知道 时间:2024/07/01 11:53:55
Write the statements necessary to prepare a file called "temperatures.dat"for reading as an ifstream called temps
ifstream temps("temperatures.dat");
给你个例子:
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
ifstream temps("temperatures.dat");
char data[1024];
if (!temps)
return -1;
while (!temps.eof())
{
temps >> data;
cout << data;
}
temps.close();
return 0;
}
how to write an invitation
谢谢了!急急!!用C(线性表的插入)Write a list insertion function for an ordered list.
how to write an english composition?
C语言中的Write函数
an attemp was made to write to read-only memory
Someone enthusiastic help me write an english essay
Write an article using the notes in the box.
Write a review of an English book you read
乳腺癌ER(-),PR(-),c-erbB-2(+).
c盘根目录下的PR打头的TMP文件