04 2015 档案

摘要:1 #include 2 #include 3 #include 4 using std::string; 5 using std::vector; 6 using namespace std; 7 extern void bline(); 8 9 int main()10 {11 ... 阅读全文
posted @ 2015-04-17 16:30 无敌烤皮蛋 阅读(110) 评论(0) 推荐(0)
摘要:1 #include 2 #include 3 #include 4 using std::string; 5 using std::vector; 6 using namespace std; 7 void bline(); 8 9 int main()10 {11 //3.16... 阅读全文
posted @ 2015-04-17 16:09 无敌烤皮蛋 阅读(125) 评论(0) 推荐(0)
摘要:1 #include 2 #include 3 #include 4 using std::string; 5 using std::vector; 6 using namespace std; 7 8 int main() 9 {10 int text;11 vector... 阅读全文
posted @ 2015-04-17 09:24 无敌烤皮蛋 阅读(77) 评论(0) 推荐(0)
摘要:1 #include 2 #include 3 using namespace std; 4 5 6 int main() 7 { 8 //3.6 9 string str("some thing");10 for(decltype(str.size()) i = ... 阅读全文
posted @ 2015-04-16 11:15 无敌烤皮蛋 阅读(89) 评论(0) 推荐(0)
摘要:1 #include 2 #include 3 /* run this program using the console pauser or add your own getch, system("pause") or input loop */ 4 using std::cout; 5 u... 阅读全文
posted @ 2015-04-16 09:31 无敌烤皮蛋 阅读(85) 评论(0) 推荐(0)
摘要:1 #include 2 #include 3 /* run this program using the console pauser or add your own getch, system("pause") or input loop */ 4 using std::cout; 5 u... 阅读全文
posted @ 2015-04-16 09:26 无敌烤皮蛋 阅读(87) 评论(0) 推荐(0)
摘要:1 #include 2 #include 3 /* run this program using the console pauser or add your own getch, system("pause") or input loop */ 4 using std::cout; 5 u... 阅读全文
posted @ 2015-04-16 09:16 无敌烤皮蛋 阅读(91) 评论(0) 推荐(0)
摘要:1 #include 2 #include "Sales_data.h" 3 #include 4 using namespace std; 5 extern void fun121(); 6 extern void fun123_124(); 7 extern void fun122(); ... 阅读全文
posted @ 2015-04-14 15:23 无敌烤皮蛋 阅读(107) 评论(0) 推荐(0)
摘要:1 #include 2 using namespace std; 3 /* run this program using the console pauser or add your own getch, system("pause") or input loop */ 4 5 int ma... 阅读全文
posted @ 2015-04-14 09:37 无敌烤皮蛋 阅读(72) 评论(0) 推荐(0)
摘要:1 #include 2 using namespace std; 3 4 5 int main() 6 { 7 const int i=42; 8 auto j=i; 9 const auto &k=i;10 auto *p=&i;11 co... 阅读全文
posted @ 2015-04-13 19:10 无敌烤皮蛋 阅读(100) 评论(0) 推荐(0)
摘要:1 #include 2 using namespace std; 3 4 5 int main() 6 { 7 int i=0,&r=i; 8 auto a=r; 9 10 const int ci=i,&cr=ci;... 阅读全文
posted @ 2015-04-13 19:09 无敌烤皮蛋 阅读(98) 评论(0) 推荐(0)
摘要:1 #include 2 using namespace std; 3 4 int main() 5 { 6 int *p,val=24; 7 p=&val; 8 cout<<*p<<endl; 9 *p=42;10 cout<<val<<endl;11... 阅读全文
posted @ 2015-04-12 19:26 无敌烤皮蛋 阅读(79) 评论(0) 推荐(0)
摘要:1 #include 2 3 int main()4 {5 std::cout<<'\x32'<<'\x4D'<<'\n'<<std::endl;6 std::cout<<'\x32'<<'\t'<<'\x4D'<<'\n'<<std::endl;7 return 0;8 } 阅读全文
posted @ 2015-04-11 11:54 无敌烤皮蛋 阅读(71) 评论(0) 推荐(0)
摘要:1 #include 2 #include "Sales_item.h" 3 using namespace std; 4 5 int main() 6 { 7 Sales_item total; 8 if(cin>>total){ 9 Sale... 阅读全文
posted @ 2015-04-11 10:49 无敌烤皮蛋 阅读(103) 评论(0) 推荐(0)