![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
c++
牛肉丸17
不要急,慢慢来
展开
-
随机行走
随机移动 c++原创 2015-04-05 21:02:30 · 923 阅读 · 0 评论 -
C++ STL
初学STL,,朋友强烈推荐我学。以下是初次接触看了其他人的文章分析及心得, #include #include using namespace std;#define SIZE 100int iarray[SIZE];int main(){ iarray[20] = 50; int* ip = find(iarray, iarray原创 2015-04-12 23:33:48 · 469 阅读 · 0 评论 -
c++ 排序
#include #include using namespace std;int random(int c){ while(true) { int a=rand(); if (a { return a; } }}class Demo_s原创 2015-04-29 11:23:35 · 395 阅读 · 0 评论 -
volatile的用处
#include #include int main(){ volatile int i = 10;int a = i;printf("i= %d\n", a);__asm{mov dword ptr [ebp - 4], 20h }int b = i;printf("i= %d\n",b); std::cin.ge原创 2015-11-23 12:23:36 · 264 阅读 · 0 评论