摘要: 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 阅读全文
posted @ 2020-03-22 20:34 萌萌~ 阅读(254) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2020-03-22 10:04 萌萌~ 阅读(913) 评论(0) 推荐(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!"); //定义一个字符串并 阅读全文
posted @ 2020-03-22 08:34 萌萌~ 阅读(163) 评论(0) 推荐(0) 编辑