摘要:
最后用C++实现了一把,因为STL中尚未包含Regular Expression,因此我使用了Boost中的Regex++。不过因为不是很熟悉,所以代码很蹩脚,将就看了。呵呵。#include <string> #include <boost/regex.hpp> #include <iostream> #include <fstream> using namespace std; void readFile( const char* filename, string& str ); void writeFile( const char* 阅读全文
posted @ 2004-10-04 20:55
Dancefire
阅读(288)
评论(0)
推荐(0)
浙公网安备 33010602011771号