fold all codes
摘要: m.cpp#include <iostream>#include <fstream>#include <string>#include <sstream>using namespace std;int main(){ ifstream in("in.txt"); string s; getline(in, s); // read for length int length; { istringstream sin(s); sin >> length; } // dim array double** arr = n. 阅读全文
posted @ 2011-11-02 23:31 hylent 阅读(162) 评论(0) 推荐(0)
摘要: a.cpp#include <iostream>#include <vector>#include <fstream>using namespace std;int ne, nj, njt;vector<int*> jh; // 2vector<int*> jtx; // 4vector<int*> jw; // 3vector<int*> mw; // 6void qjw(){ int counter = 1; for (int i = 0; i < nj; ++i) { int *toAdd = ne 阅读全文
posted @ 2011-11-02 23:13 hylent 阅读(269) 评论(0) 推荐(0)
摘要: 不错,可以自定义许多东西。 阅读全文
posted @ 2011-11-02 22:32 hylent 阅读(109) 评论(0) 推荐(0)