04 2014 档案
摘要:/// /// 截取图像的矩形区域 /// /// 源图像对应picturebox1 /// 矩形区域,如上初始化的rect /// 矩形区域的图像 public static Image Acq...
阅读全文
摘要:#include using namespace std;int main(int argc, char *argv[]){ int a = 10; cout.width(10); cout.fill('#'); cout << a << endl; cout.widt...
阅读全文
摘要:#include using namespace std;int main(int argc, char *argv[]){ cout << 123 << endl; cout.width(10); cout << 123 << endl; cout << 123 << endl; cout.width(1); cout << 123 << endl; cout.width(10); cout.fill('*'); cout << 123 << endl; c
阅读全文
摘要:1 #include 2 using namespace std; 3 int main(int argc, char *argv[]) 4 { 5 cout 2 using namespace std; 3 #include 4 #include 5 int main(int argc, char *argv[]) 6 { 7 ifstream fin("D:\\a.txt"); 8 char ch; 9 while(fin.get(ch))10 {11 cout << ch << flush;12 time...
阅读全文
摘要:1 #include 2 #include 3 using namespace std; 4 int main(int argc, char *argv[]) 5 { 6 ofstream fout("D:\\a.txt"); 7 fout 2 #include 3 #include 4 using namespace std; 5 6 int main(int argc, char *argv[]) 7 { 8 string stContent = ""; 9 ifstream fin("D:\\a.txt");10 getlin.
阅读全文