摘要:
c++ string类 #include #include using namespace std; int main (){ string str1 = "Hello"; string str2 = "World"; ... 阅读全文
posted @ 2022-08-19 22:54
luoganttcc
阅读(7)
评论(0)
推荐(0)
摘要:
#include using namespace std; int main (){ char greeting[6] = {... 阅读全文
posted @ 2022-08-19 22:54
luoganttcc
阅读(6)
评论(0)
推荐(0)
摘要:
#include using namespace std; int main (){ char greeting[6] = {... 阅读全文
posted @ 2022-08-19 22:54
luoganttcc
阅读(6)
评论(0)
推荐(0)
摘要:
c++字符串 #include using namespace std; int main (){ char greeting[6] = {'H', 'e', 'l', 'l', 'o', '\0'}; cout #incl... 阅读全文
posted @ 2022-08-19 22:54
luoganttcc
阅读(9)
评论(0)
推荐(0)
摘要:
c++字符串 #include using namespace std; int main (){ char greeting[6] = {'H', 'e', 'l', 'l', 'o', '\0'}; cout #incl... 阅读全文
posted @ 2022-08-19 22:54
luoganttcc
阅读(8)
评论(0)
推荐(0)
摘要:
#include using namespace std;#include using std:: setw;int main(){... 阅读全文
posted @ 2022-08-19 22:54
luoganttcc
阅读(12)
评论(0)
推荐(0)
摘要:
#include using namespace std;#include using std:: setw;int main(){... 阅读全文
posted @ 2022-08-19 22:54
luoganttcc
阅读(9)
评论(0)
推荐(0)
摘要:
c++ 数组 #include using namespace std;#include using std:: setw;int main(){ int n[10]; //初始化数组元素 for (int i=0;i<10;i+... 阅读全文
posted @ 2022-08-19 22:54
luoganttcc
阅读(8)
评论(0)
推荐(0)
摘要:
c++ 数组 #include using namespace std;#include using std:: setw;int main(){ int n[10]; //初始化数组元素 for (int i=0;i<10;i+... 阅读全文
posted @ 2022-08-19 22:54
luoganttcc
阅读(8)
评论(0)
推荐(0)
摘要:
c++ 生成随机数 #include #include #include using namespace std;int main(){ int i,j; srand( (unsigned)time(NULL)); /*生成... 阅读全文
posted @ 2022-08-19 22:54
luoganttcc
阅读(10)
评论(0)
推荐(0)

浙公网安备 33010602011771号