12 2023 档案
摘要:1. #include <iostream> #include <list> using namespace std; int main(){ list<int> a = {1,2,3}; list<int> b = {4,5,6}; list<int>::iterator i,j; j = a.e
阅读全文
摘要:#include <bits/stdc++.h> using namespace std; int main(){ int x[] = {2,3,4,5,6,7}; deque<int> a(x,x+sizeof(x)/sizeof(int)); cout<<"初始值:"; for(int i =
阅读全文
摘要:#include <bits/stdc++.h> using namespace std; void MAIN(); int main(){ int n; while(1){ MAIN(); cin>>n; char time[10],cata[50],a,b; switch(n){ case 1:
阅读全文
摘要:#include <iostream> #include <vector> using namespace std; #define list 1000 struct a{ string name; int id; int age; string Class; }index; void MAIN()
阅读全文
摘要:#include <iostream> #include <windows.h> using namespace std; //声明变量 HWND hand = NULL; DWORD pid = 0; HANDLE hProcess = NULL; DWORD BaseValue = 0; DWO
阅读全文
摘要:#include <iostream> #include <vector> using namespace std; int main(){ vector<int>a; int b[] = {1,2,3,4,5}; vector<int>c(b,b+sizeof(b)/sizeof(int)); a
阅读全文