vs2005无法运行宏
vs2005无法运行宏,配置里面也设置了,是可以运行宏的,但就是运行没有反应,后来得知要安装 sp1补丁,安装后果然问题解决。 英文补丁 431M http://download.microsoft.com/dRead More →
You are browsing the site archives for 十一月 2009.
vs2005无法运行宏,配置里面也设置了,是可以运行宏的,但就是运行没有反应,后来得知要安装 sp1补丁,安装后果然问题解决。 英文补丁 431M http://download.microsoft.com/dRead More →
/* LPTSTR 转换成 CString */ (1)直接赋值 CString strText;LPTSTR lpszText = _T(“LPTSTR >> CString̶Read More →
一、先测试如果不能运行宏,则要先在工具里设置容许,如果还不行就安sp1补丁二、具体地址:http://www.cppblog.com/eday/archive/2007/07/15/28079.html三、可以Read More →
利用GetAsyncKeyState()函数 1.定义这样的宏#define KEYDOWN(vk_code) ((GetAsyncKeyState(vk_code) & 0x8000) ? true Read More →
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
#include <stdlib.h> #include <stdio.h> #include <string.h> int first(unsigned char ch) { if(ch>=0xb0&&ch<=0xf7) return 1; else return 0; } int second(unsigned char ch) { if(ch>=0xa1&&ch<=0xfe) return 1; else return 0; } int check(const char* p) { int i=0; for(i=0;i<strlen(p)-1;i++) if(first(p)&&second(p[i+1])) return 1; return 0; } main() { const char* str= “sdfddfsdf”; check(str)?puts(“there has character!”):puts(“there has none character!”); } |
C++的static有两种用法:面向过程程序设计中的static和面向对象程序设计中的static。前者应用于普通变量和函数,不涉及类;后者主要说明static在类中的作用。 一、面向过程设计中的static Read More →
第一步:安装Amule sudo apt-get install amule amule-utils 第二步:简单配置Amule 1.下载ed2k服务器列表文件 点击Amule窗口上方的“网络”按钮,在“ED2Read More →
Designed using Responsive Brix WordPress Theme. Powered by WordPress.