摘要:
#include "stdafx.h" #include "cstdio" #include "iostream" #include "algorithm" using namespace std; int main() { string grade="A"; if (grade=="A") cou 阅读全文
摘要:
#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++) //此处可用替换 阅读全文
摘要:
#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; 阅读全文
摘要:
#include "stdafx.h" #include "iostream" #include "cstring" #include "string" void oil(int x); using namespace std; int main() { int texas=31; int year 阅读全文
摘要:
#include "stdafx.h" #include "iostream" #include "cstring" #include "string" using namespace std; struct job { char name[40]; double salary; int floor 阅读全文
摘要:
#include "stdafx.h" #include "iostream" #include "cstring" #include "string" using namespace std; template <typename T> void swap1(T &a,T &b);//引用变量 t 阅读全文
摘要:
#include "stdafx.h" #include "iostream" #include "cstring" #include "string" using namespace std; template <class T> //或者template <typename T>注意没有分号 v 阅读全文
摘要:
#include "stdafx.h" #include "iostream" #include "cstring" #include "string" using namespace std; unsigned long left(unsigned long num,unsigned ct); c 阅读全文
摘要:
#include "stdafx.h" #include "iostream" #include "cstring" #include "string" using namespace std; int main() { //第一组代码 int updates=6; int *pt=&updates 阅读全文
摘要:
代码1: #include "stdafx.h" #include "iostream" #include "string" using namespace std; int main() { int rats=101; int *pt=&rats; //101 int & rodents=*pt; 阅读全文