摘要:
明白了虚拟桌面的原理后发现就使用了3个函数就可以实现,源码如下: /Files/donneyming/vdesktop.rar首先创建一个新的桌面,然后调用创建进程函数创建explorer进程,切换桌面 ~3个主要函数原型如下:HDESK CreateDesktop(LPCTSTR lpszDesktop, // name of new desktop LPCTSTR lpszDevice, /... 阅读全文
摘要:
呵呵 原来打印语句位置的不同就是不同的访问方式~ // btree.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "stdlib.h" int a[10]={1,2,4,5,3,6,7,8,9,10}; struct tree { tree *left; ... 阅读全文
摘要:
发现写哈夫曼还是比较好玩 献丑了 :就是每次取2个最小的值算成一个新的节点直到最后一个节点 // hfm.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "stdlib.h" int a[10]; struct node { int value; int lef... 阅读全文