摘要:
_declspec (dllexport)void run(){ for(char *p = 0xae0000;p<0xae1000;p++)//决定步长保存地址每次前进1个字节 { int *px = p;//按int方式解析 ... 阅读全文
摘要:
//MyLayer.h#include "cocos2d.h"USING_NS_CC;class MyLayer : public CCLayer{public: static MyLayer* create(); bool init();};//MyLayer.cpp#include ... 阅读全文
摘要:
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... 阅读全文
摘要:
import java.util.Arrays;public class sort { public static void main(String[] args) { // TODO 自动生成的方法存根 int[] a = {1,2,323,23,543,12,5... 阅读全文
摘要:
#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;... 阅读全文
摘要:
#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... 阅读全文
摘要:
基类:CApplicationProtocol纯虚函数virtual bool applicationDidFinishLaunching() = 0;CCApplication继承于CCApplicationProtoco:int run();//调用applicationDidFinishLau... 阅读全文
摘要:
#include #include void main(){ while (1) { HWND win = GetDesktopWindow();//获取桌面 HDC windc = GetWindowDC(win);//获取桌面的显示 HDC ... 阅读全文
摘要:
#include #include DWORD WINAPI mymsg(LPVOID lp){ MessageBoxA(0, "hello", "China", 0); return 0;}void main(){ HANDLE hthread; DWORD threadi... 阅读全文