2008-04-12から1日間の記事一覧

しーぷらぷらの練習した。任意の区切り文字で文字列を分割してvectorに入れる。 #include <iostream> #include <string> #include <vector> using namespace std; vector<string> split(string str, string delims){ vector<string> result; int begin = -1; int end = str.find_first_of(delims); whil</string></string></vector></string></iostream>…

おれはもうぱいそんとしーげんごだけで生きていくんだ! しーぷらぷらなどという言語なんかもう二度とさわらないゾ! という決意をするとともに、もっていたしーぷらぷら本の全てを一冊千円でid:tawake氏に押しつける。金をとるところがセコい。それから色々…