#include "stdafx.h"
#include <iostream>
#include <fstream>
#include <string>
using namespace std;
#define N 15
//输入10个数据
void main()
{
ofstream file("d:\\a.txt");
int num=0;
for (int i = 0; i < N; i++)
{
cin >> num;
file << num <<" ";
}
//关闭文件
file.close();
//行列初始化
int row=0, col=0;
cin >> row >> col;
//申请二维数组空间
string **element=NULL;
element = new string*[row];
for (int i = 0; i<row; i++)
{
element[i] = new string[col];
}
ifstream file1("d:\\a.txt");
//输出数据到数组
for (int i = 0; i<row; i++)
{
&nbs