上一页 1 ··· 3 4 5 6 7 8 下一页
摘要: #include "stdafx.h" #include "cstdio" #include "iostream" #include "algorithm" using namespace std; int main() { string grade="A"; if (grade=="A") cou 阅读全文
posted @ 2020-05-21 08:43 财盛 阅读(529) 评论(0) 推荐(0) 编辑
摘要: #include "stdafx.h" #include "iostream" #include "cstring" #include "string" using namespace std; int a,b,c,d; int main() {for (c=0;c>=0;c++) //此处可用替换 阅读全文
posted @ 2020-05-21 08:35 财盛 阅读(1716) 评论(0) 推荐(0) 编辑
摘要: #include "stdafx.h" #include "iostream" #include "cstring" #include "string" using namespace std; int a,b,c,d,e,f; int main() {cin>>a; cin>>b; cin>>c; 阅读全文
posted @ 2020-05-21 08:34 财盛 阅读(106) 评论(0) 推荐(0) 编辑
摘要: #include "stdafx.h" #include "iostream" #include "cstring" #include "string" void oil(int x); using namespace std; int main() { int texas=31; int year 阅读全文
posted @ 2020-05-21 08:32 财盛 阅读(129) 评论(0) 推荐(0) 编辑
摘要: #include "stdafx.h" #include "iostream" #include "cstring" #include "string" using namespace std; struct job { char name[40]; double salary; int floor 阅读全文
posted @ 2020-05-21 08:26 财盛 阅读(128) 评论(0) 推荐(0) 编辑
摘要: #include "stdafx.h" #include "iostream" #include "cstring" #include "string" using namespace std; template <typename T> void swap1(T &a,T &b);//引用变量 t 阅读全文
posted @ 2020-05-21 08:25 财盛 阅读(124) 评论(0) 推荐(0) 编辑
摘要: #include "stdafx.h" #include "iostream" #include "cstring" #include "string" using namespace std; template <class T> //或者template <typename T>注意没有分号 v 阅读全文
posted @ 2020-05-21 08:16 财盛 阅读(98) 评论(0) 推荐(0) 编辑
摘要: #include "stdafx.h" #include "iostream" #include "cstring" #include "string" using namespace std; unsigned long left(unsigned long num,unsigned ct); c 阅读全文
posted @ 2020-05-21 08:15 财盛 阅读(168) 评论(0) 推荐(0) 编辑
摘要: #include "stdafx.h" #include "iostream" #include "cstring" #include "string" using namespace std; int main() { //第一组代码 int updates=6; int *pt=&updates 阅读全文
posted @ 2020-05-21 08:13 财盛 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 代码1: #include "stdafx.h" #include "iostream" #include "string" using namespace std; int main() { int rats=101; int *pt=&rats; //101 int & rodents=*pt; 阅读全文
posted @ 2020-05-21 08:12 财盛 阅读(126) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 下一页