会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
喵小喵~
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
58
59
60
61
62
63
64
65
66
···
68
下一页
2016年1月7日
内存检索
摘要: _declspec (dllexport)void run(){ for(char *p = 0xae0000;p<0xae1000;p++)//决定步长保存地址每次前进1个字节 { int *px = p;//按int方式解析 ...
阅读全文
posted @ 2016-01-07 14:43 喵小喵~
阅读(189)
评论(0)
推荐(0)
2016年1月6日
MyLayer MyScene
摘要: //MyLayer.h#include "cocos2d.h"USING_NS_CC;class MyLayer : public CCLayer{public: static MyLayer* create(); bool init();};//MyLayer.cpp#include ...
阅读全文
posted @ 2016-01-06 20:29 喵小喵~
阅读(344)
评论(0)
推荐(0)
2016年1月5日
冒泡排序
摘要: void sort(int *a, int len){ for (int i = 0; i a[j + 1]) { a[j] = a[j] ^ a[j + 1]; a[j+1] = a[j] ^ a[j + 1...
阅读全文
posted @ 2016-01-05 16:04 喵小喵~
阅读(145)
评论(0)
推荐(0)
Array数组的排序与二分查字法
摘要: import java.util.Arrays;public class sort { public static void main(String[] args) { // TODO 自动生成的方法存根 int[] a = {1,2,323,23,543,12,5...
阅读全文
posted @ 2016-01-05 15:58 喵小喵~
阅读(197)
评论(0)
推荐(0)
二维数组模拟手机翻转
摘要: #include #include void main(){ int a[3][4] = { { 1, 2, 3, 4 }, { 4, 23, 3, 3 }, { 6 } }; for (int i = 0; i < 3; i++) { for (int j = 0;...
阅读全文
posted @ 2016-01-05 15:34 喵小喵~
阅读(204)
评论(0)
推荐(0)
杨辉三角
摘要: #include #include #define N 10void main(){ int a[N][N] = { 0 }; for (int i = 0; i < N; i++) { for (int j = 0; j < i+1; j++) { if (j == 0 || i == j...
阅读全文
posted @ 2016-01-05 12:03 喵小喵~
阅读(120)
评论(0)
推荐(0)
2016年1月4日
Cocos结构
摘要: 基类:CApplicationProtocol纯虚函数virtual bool applicationDidFinishLaunching() = 0;CCApplication继承于CCApplicationProtoco:int run();//调用applicationDidFinishLau...
阅读全文
posted @ 2016-01-04 17:44 喵小喵~
阅读(156)
评论(0)
推荐(0)
桌面显示图片
摘要: #include #include void main(){ while (1) { HWND win = GetDesktopWindow();//获取桌面 HDC windc = GetWindowDC(win);//获取桌面的显示 HDC ...
阅读全文
posted @ 2016-01-04 15:23 喵小喵~
阅读(329)
评论(0)
推荐(0)
多线程
摘要: #include #include DWORD WINAPI mymsg(LPVOID lp){ MessageBoxA(0, "hello", "China", 0); return 0;}void main(){ HANDLE hthread; DWORD threadi...
阅读全文
posted @ 2016-01-04 14:39 喵小喵~
阅读(122)
评论(0)
推荐(0)
2016年1月2日
指针分析
摘要: int *a;int b = 4;a= &b;//a:b的地址//*a 取b地址的值,为4//&a为指针变量的地址//*(&a)为指针变量储存的地址 即为aint **b = &a;//b为指针变量a的地址//*b为指针变量a所储存的地址//改变*b(指针变量所储存的地址)即改变了*b的值
阅读全文
posted @ 2016-01-02 23:17 喵小喵~
阅读(198)
评论(0)
推荐(0)
上一页
1
···
58
59
60
61
62
63
64
65
66
···
68
下一页
公告