#include
#include
using namespace std;
int main(int argc, char* argv[])
{
ifstream fin("data.txt");
if (!fin)
{
cerr<<"can not open file"<return -1;
}
char line[1024];
string *data = new string[1024];
int i = 0;
while(i < 1024 && (fin>>line))
{
data[i] = line;
data[i] += " ";
i++;
}
//输出来看一下
int count = i;
for (i = 0; i < count; i++)
{
cout< }
return 0;
}