上一页 1 ··· 5 6 7 8 9
摘要: Q1:Cannot open precompiled header file: 'Debug/shuju1.pch': No such file or directorysolution:是预编译文件夹的问题打开stdafx.cpp 按F7,再次执行就行了Q2:编译环境是VC 6.0 ,Error spawning cl.exesolution:转:可能很多人在安装VC 6.0后有过点击“Compile”或者“Build”后被出现的 “Compiling... ,Error spawning cl.exe”错误提示给郁闷过。很多人的 选择是重装,实际上这个问题很多情况下... 阅读全文
posted @ 2012-07-03 10:34 晨光静默 阅读(10570) 评论(0) 推荐(0)
摘要: 让你电脑上的窗口从白花花的颜色变成淡淡的绿色。设置方法如下: 在桌面点右键选“属性”(properties),接着点“外观”(appearance),点右下 角的“高级”(advanced),然后在“项目”(items)的下拉菜单里选“窗口” (windows),再点它右侧的下拉菜单“颜色”(color),点下方的“其它” (others),然后把“色调”(Hue)设为85,“饱和度”(Sat)设为90,“亮度” (Lum)设为205。 (产品出厂时,一般分别设为160、0、240。)然后单击“添加到自定义颜色”(Add to custom colors),按“确定”(OK)…… 一直“确定” 阅读全文
posted @ 2012-06-29 15:12 晨光静默 阅读(243) 评论(0) 推荐(0)
摘要: C#读取文本文件最简单的方法就是使用StreamReader类,下面的例子来自Visual Studio的帮助: using System;using System.Collections.Generic;using System.Linq;using System.Text;using Syste 阅读全文
posted @ 2012-06-29 10:10 晨光静默 阅读(2089) 评论(0) 推荐(0)
摘要: 如何理解LPCTSTR类型? L表示long指针 这是为了兼容Windows 3.1等16位操作系统遗留下来的,在win32中以及其他的32为操作系统中, long指针和near指针及far修饰符都是为了兼容的作用。没有实际意义。 P表示这是一个指针 C表示是一个常量 T表示在Win32环境中, 有一个_T宏 这个宏用来表示你的字符是否使用UNICODE, 如果你的程序定义了UNICODE或者其他相关的宏,那么这个字符或者字符串将被作为UNICODE字符串,否则就是标准的ANSI字符串。 STR表示这个变量是一个字符串 所以LPCTSTR就表示一个指向常固定地址的可以根据一些宏... 阅读全文
posted @ 2012-06-04 09:57 晨光静默 阅读(935) 评论(0) 推荐(0)
摘要: vc6.01.Byte = unsigned char 8位WORD = unsigned short 16位DWORD = unsigned long 32位2.char 1字节 short 2字节 int、long 4字节3.1英文字符1字节1汉字2字节4. const (从右往左读,*读出成pointer)1) char * const cp ->cp is a const pointer to char (常指针?)2) const char * p -> p is a pointer to const char (常量?)3) char const * p... 阅读全文
posted @ 2012-06-04 09:50 晨光静默 阅读(173) 评论(0) 推荐(0)
摘要: http://manual.phpv.net/regular_expression.html 阅读全文
posted @ 2012-05-03 08:48 晨光静默 阅读(585) 评论(0) 推荐(1)
上一页 1 ··· 5 6 7 8 9