2008-01-06から1日間の記事一覧
昨日のコードのC++版。とりあえずPC用で。 #include <stdio.h> #include <iostream> #include <string> #include <boost/xpressive/xpressive.hpp> using namespace std; int main(int argc, char *argv[]) { using namespace boost::xpressive; if (argc < 1) { return 1; } FILE *fp = fopen(argv[1], "r"); if (fp ==</boost/xpressive/xpressive.hpp></string></iostream></stdio.h>…