上一页 1 ··· 58 59 60 61 62 63 64 65 66 ··· 68 下一页
摘要: _declspec (dllexport)void run(){ for(char *p = 0xae0000;p<0xae1000;p++)//决定步长保存地址每次前进1个字节 { int *px = p;//按int方式解析 ... 阅读全文
posted @ 2016-01-07 14:43 喵小喵~ 阅读(183) 评论(0) 推荐(0) 编辑
摘要: //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 喵小喵~ 阅读(339) 评论(0) 推荐(0) 编辑
摘要: 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 喵小喵~ 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 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 喵小喵~ 阅读(189) 评论(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 喵小喵~ 阅读(197) 评论(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 喵小喵~ 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 基类:CApplicationProtocol纯虚函数virtual bool applicationDidFinishLaunching() = 0;CCApplication继承于CCApplicationProtoco:int run();//调用applicationDidFinishLau... 阅读全文
posted @ 2016-01-04 17:44 喵小喵~ 阅读(149) 评论(0) 推荐(0) 编辑
摘要: #include #include void main(){ while (1) { HWND win = GetDesktopWindow();//获取桌面 HDC windc = GetWindowDC(win);//获取桌面的显示 HDC ... 阅读全文
posted @ 2016-01-04 15:23 喵小喵~ 阅读(315) 评论(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 喵小喵~ 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 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 喵小喵~ 阅读(192) 评论(0) 推荐(0) 编辑
上一页 1 ··· 58 59 60 61 62 63 64 65 66 ··· 68 下一页