摘要:
1 #include <iostream> 2 #include<stdlib.h> 3 #include<string> 4 #include<vector> 5 #include<cstring> 6 7 8 using namespace std; 9 typedef int int_arra 阅读全文
摘要:
1 #include <iostream> 2 #include<stdlib.h> 3 4 5 using namespace std; 6 7 int main() 8 { 9 //创建动态数组 10 int a[10]; //静态数组 堆栈上创建的 11 int n; 12 cin>>n; 1 阅读全文
摘要:
1 #include <iostream> 2 #include <string> 3 #include <vector> 4 5 6 using namespace std; 7 8 int main() 9 { 10 11 string s("hello world!"); //定义一个字符串并 阅读全文