For undergraduate or advanced undergraduate courses in Classical Natural Language Processing, Statistical Natural Language Processing, Speech Recognition, Computational Linguistics, and Human Language Processing.
本资料为,达内科技内部 c++课件及源码笔记[完美版]
强烈推荐,新老程序员收藏~~!绝对经典~!!!
欢迎使用达内科技(中国)公司开放实验室的服务!
Welcome to the OpenLab of Tarena Technologies Inc. Cananda.
#include
#include
using namespace std;
int main( )
{
ofstream fout("test.txt");
int k;
char buf[50];
fout << "This is a text file." << endl;
cout << "Please enter a number:";
cin >> k;
fout << "The number you entered is " << k << endl;
cout << "Please enter a word:";
cin >> buf;
fout << "The word you entered is: " << buf << endl;
fout.close( );
}