#ifndef _DRAW2D_H#define _DRAW2D_H#include #pragma comment(lib, "gdiplus")using namespace Gdiplus;HWND Draw2D_hwnd;void Draw2D(PVOID pvoid){ Sleep(...
分类:
其他好文 时间:
2014-11-09 06:16:16
阅读次数:
180
1 #include 2 #include 3 #include 4 #pragma comment(lib, "winmm.lib") 5 #include 6 #include 7 using namespace std; 8 9 #define MAX_LOG_FILE_SIZE 0x4...
分类:
其他好文 时间:
2014-11-07 18:40:10
阅读次数:
163
1)方法一
选中你要加注释的内容,然后选择工具菜单“text|comment”就可以了,如果要把注释变为语句,同样选中要转变的语句,然后用鼠标选择“text|uncomment”就可以了。用键盘的快捷键是"Ctrl+R".
或者选中你要加注释的内容,右击鼠标选择“comment”, 如果要把注释变为语句,同样选中要转变的语句,然后右击鼠标选择“uncomment”取消注释。用键盘的快捷键是"Ctr...
分类:
其他好文 时间:
2014-11-07 09:55:41
阅读次数:
559
So I realise that it might be helpful if I clarify myself, the desktop shortcut file for Eclipse would contain something like this: [Desktop?Entry]
Version=4.3.0
Name=Eclipse
Comment=IDE?for?all...
分类:
系统相关 时间:
2014-11-06 15:11:31
阅读次数:
152
先序遍历:访问根,遍历左子树,遍历右子树,简称:DLR。
中序遍历:遍历左子树,访问根,遍历右子树,简称:LDR。
后序遍历:遍历左子树,遍历右子树,访问根,简称:LRD。
数组搞的:
#pragma comment(linker, "/STACK:1024000000,1024000000")
#include
#include
#include
#include
#include
#i...
分类:
其他好文 时间:
2014-11-05 21:38:44
阅读次数:
294
在VC++的程序设计中,可以利用各种标准的资源,如位图,菜单,对话框等。同时VC++也允许用户自定义资源,因此我们可以将声音文件作为用户自定义资源加入程序资源文件中,经过编译连接生成EXE文件,实现无.WAV文件的声音播放。
具体步骤如下:
1.在dlg.h中加入
#include
#include // 加上,不然PlaySound函数无法使用
#pragma comment(...
分类:
编程语言 时间:
2014-11-05 17:21:08
阅读次数:
251
不久前做算术建模的作业,要用到lingo并且仍然要重复调配使用lingo的动态计划于是在百度上找了下怎么用C++调配使用lingo,最后结果发觉是个坑于是我就陷进去了,弄了两三牛人搞明白,那里面有一天还没睡觉儿……要翘辫子然而固然弄清楚了,也走了众多弯路,所以要把一点经验记..
分类:
编程语言 时间:
2014-11-05 15:09:00
阅读次数:
270
一道简单的模拟题需要要匹配{} 和 $$ 符里面的东西即可//#pragma comment(linker, "/STACK:16777216") //for c++ Compiler#include #include #include #include #include #include #inc...
分类:
其他好文 时间:
2014-11-04 19:25:45
阅读次数:
181
最基础的树链剖分啦,存下来当模板#pragma comment(linker, "/STACK:1024000000,1024000000")#include #include #include #define lson rt siz[son[now]]) { son[now...
分类:
其他好文 时间:
2014-11-04 16:38:29
阅读次数:
271
用户输入的信息 ,我们已经通过$$key这个东西将用户的输入存储起来了 ,即我们得到了$name,$email,$comment这些信息。我们现在要做的就是在用户点击submit btn之后将这些信息赋给input的value,或者在textare中显示出来。为了防止用户输入的某些数值显示出错,需要...
分类:
Web程序 时间:
2014-11-03 13:00:43
阅读次数:
234