摘要:
int array[10];int (*func(int i))[10];using arrInt = int[10];arrInt *func2(int i);typedef int arrayInt[10];arrayInt *func3(int i);auto func4 (int i)... 阅读全文
posted @ 2014-07-18 21:06
wu_overflow
阅读(187)
评论(0)
推荐(0)
摘要:
#include"iostream"int main(int argc, char **argv) { std::stringstr; for (size_ti = 0; argv[i]; ++i)str += argv[i]; std::cout<< str << std::endl; re... 阅读全文
posted @ 2014-07-18 21:06
wu_overflow
阅读(105)
评论(0)
推荐(0)
摘要:
铅(なまり)の空(そら)【阴霾的天空】重(おも)く垂(た)れ込(こ)み【垂下凝重的幕帘】真白(ましろ)に淀(よど)んだ【沉入苍白之中】太阳(たいよう)が砕(くだ)けて【将太阳斩碎】耳鸣(みみな)りを尖(とが)らせる【让我大声尖叫】ひゅるりひゅるり【迅速地 迅速地】低(ひく)いツバメ(つばめ)が... 阅读全文
posted @ 2014-07-18 21:06
wu_overflow
阅读(114)
评论(0)
推荐(0)
摘要:
#include #include using namespace std;//以下任意一种定义方式均合法//using funcp = int(*) (int, int);//typedef int(*funcp) (int, int);//若已知目标类型为Func, 则可以//int Fu... 阅读全文
posted @ 2014-07-18 21:06
wu_overflow
阅读(404)
评论(0)
推荐(0)
摘要:
#include"iostream"#include"stdexcept"using namespace std;int main(){ int num,num2; while (cin>> num >> num2) {try {if (num2 == 0)throw runtime_erro... 阅读全文
posted @ 2014-07-18 21:06
wu_overflow
阅读(186)
评论(0)
推荐(0)
摘要:
#include"iostream"using namespace std;//返回c第一次出现的位置//引用形参负责统计c出现的次数string::size_type foo(const string &s, char c,string::size_type &occurs){ auto r... 阅读全文
posted @ 2014-07-18 21:06
wu_overflow
阅读(159)
评论(0)
推荐(0)
摘要:
#include "iostream"#include "string"#include "cctype"#include "vector"using namespace std;int main(){ vectorstr; stringt;//结束输入需要Ctrl+Z while (cin>... 阅读全文
posted @ 2014-07-18 21:06
wu_overflow
阅读(1004)
评论(0)
推荐(0)
浙公网安备 33010602011771号