自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 资源 (11)
  • 收藏
  • 关注

原创 全局作用域符号(双冒号)例子

#include int count = 0; //全局变量 0void main() {   int count = 10; //局部变量10  printf("count =%d/n",count);//局部变量屏蔽了全局变量 所以输出结果是10  {   int count = 20;     printf("count =%d/n",::count); //作用域符号指出引用全局

2009-04-03 03:00:00 997

原创 虚函数 多态

 /*用虚函数实现动态连接在编译期间,C++编译器根据程序传递给函数的参数或者函数返回类型来决定程序使用那个函数,然后编译器用正确的的函数替换每次启动。这种基于编译器的替换被称为静态连接,他们在程序运行之前执行。另一方面,当程序执行多态性时,替换是在程序执行期进行的,这种运行期间替换被称为动态连接。如下例子:*/#includeusing namespace std;//类声明及成员函数定义cla

2009-04-03 02:56:00 387

原创 ActiveDAQ控件的VC编程 数据采集 VARIANT数据类型的使用

// activetestDlg.cpp : implementation file//#include "math.h"#include "stdafx.h"#include "activetest.h"#include "activetestDlg.h"#include "stdafx.h"#include "windows.h"#include "mmsystem.h"#include "D

2009-04-03 02:44:00 1329

原创 Timer Event Callback

// timeSimple.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include "windows.h"#include "mmsystem.h"#pragma comment (lib,"winmm.lib")#define ONE_MILLI_SECOND 1 //

2009-04-03 02:29:00 691

原创 数组名、数组名取地址以及作为函数传递带来的问题

// array_para.cpp : 定义控制台应用程序的入口点。////数组地址以及作为函数传递带来的问题 #include "stdafx.h"#include using namespace std;void test(int a[5]);void test2(int a[5]);int _tmain(int argc, _TCHAR* argv[]){ int a[5

2009-04-03 01:57:00 989

原创 C# event 的一个例子

using System;class EventClass{    //step1:create custom event args class(skip if system:EventArgs is used)#region custom event args class    public class EventNameEventArgs:EventArgs    {        publi

2009-04-03 01:51:00 334

原创 多线程 Semaphore 回调函数 多媒体定时器的使用

////作用:创建两个线程各自定时输出tickcount////// timerSemaphore.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include "windows.h"#include "mmsystem.h"#pragma comment (lib

2009-04-03 01:49:00 727

原创 RADIO按钮GROUP属性未设置正确的TAB顺序而引起单选BUG

问题描述:3个radio选择了第一个为group属性,并添加了相应的value成员变量。经过测试,单选按钮的响应不对,常常会出现类似刷新失败导致选中多个的问题。 问题解决:多个radio构成group时其变量是按照其TAB顺序来分配的!故需要用ctrl+D选择其TAB顺序。将其TAB顺序依次选对后即可实现正常的单选功能。

2009-04-03 01:38:00 749

原创 类的size & 私有成员的继承方式

#includeusing namespace std;class CParent{public: int m_Variable1;  //size=4 (int) virtual void ShowVariable(){            //size=4(虚函数通过一个void pointer  VPTR调用)  coutm_Variable1  coutm_Variable2 }; 

2009-04-03 01:19:00 364

原创 内存分配方式(动态/静态)的不同对const变量(全局/局部)访问性的影响

// CONSTANT_StaticVsDynamic.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include using namespace std;const int const_var2=2;  //GLOABAL const variable=>"static storage"in ROMint _tmain(int argc, _T

2009-04-03 01:05:00 497

微信ANDROID客户端架构演进及其对开发流程的影响.pdf

微信ANDROID客户端架构演进及其对开发流程的影响.pdf

2015-06-26

WINDOWS via C++4th中文版_Chinapub.pdf

WINDOWS via C++4th中文版_Chinapub.pdf

2009-05-06

罗云彬 Windows环境下32位汇编语言程序设计 PDF 完美版

罗云彬 Windows环境下32位汇编语言程序设计 PDF 完美版 一共4个分卷 最后一个

2009-05-06

罗云彬 Windows环境下32位汇编语言程序设计 PDF 完美版 一共3个分卷

罗云彬 Windows环境下32位汇编语言程序设计 PDF 完美版 一共4个分卷

2009-05-06

罗云彬 Windows环境下32位汇编语言程序设计 PDF 完美版 一共3个分卷

罗云彬 Windows环境下32位汇编语言程序设计 PDF 完美版 一共4个分卷(前面写错了不是3个)

2009-05-06

罗云彬 Windows环境下32位汇编语言程序设计 PDF 完美版

罗云彬 Windows环境下32位汇编语言程序设计 PDF 完美版

2009-05-06

C++面向对象多线程编程.pdf

C++面向对象多线程编程.pdf C++面向对象多线程编程.pdf

2009-02-28

Inside the C++ Object Model.chm

Inside the C++ Object Model.chm

2009-02-28

Linux\Understanding.The.Linux.Kernel,3rd.ed.2005.chm

understanding the linux kernel Understanding.The.Linux.Kernel,3rd.ed.2005.chm

2009-02-28

linuxFHS V2.3

linux文件层次规范,2.3版 关于linux的文件分类

2009-02-28

交大留学手册 上海交大

留学手册 交大BBS GOABROAD版出品 推荐下载 美国 加拿大 英国

2008-09-07

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除