C++编程 编写函数计算一个英文句子中的单词个数
C++编程 编写函数计算一个英文句子中的单词个数
日期:2015-04-12 08:55:55 人气:1
//#include "stdafx.h"//vc++6.0加上这一行.#include using namespace std;int main(void){ int i,ws; char w[501]=" The quick brown fox jumps over a lazy dog. This is a sentence in a book called \'Q\'."; f