自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

★☆★χMars的专栏★☆★

修炼中 ■□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□ 完成2%

  • 博客(12)
  • 收藏
  • 关注

原创 Implementation of Polymorphism

class Class1{  public:    m_data1;    m_data2;    memfunc();    virtual vfunc1();    virtual vfunc2();    virtual vfunc3();};Class1 object instance:   ━━━━━━━━━  ┃  vptr    ┃ ──>      vtable      

2004-12-31 09:55:00 1390

原创 letter from jjhou

侯先生,您好!在看您的著作《深入浅出MFC》的时候,突然想到一个建议,而且是很强烈的意愿。本人斗胆建议先生多出一些自己的著作,因为先生的见解很独到,都是吾辈迫切想知的。如果单单翻译,即使字里行间有先生的讲解,亦很难把先生的见解发挥的淋漓。但观世面上的咨讯书籍,无论原著还是译著,多数或千篇一律,避重就轻,或洋洋万言却不知所云,观后不是两眼茫然就是大为光火。     望先生采纳。           

2004-12-31 09:13:00 1568

原创 套接口地址结构

套接口地址结构IPv4套接口地址结构IPv4套接口地址结构通常也称为“网际套接口地址结构”,它以“sockaddr_in”命名,定义在头文件中。struct   in_addr{       in_addr_t   s_addr;                 /*32bit IPv4 address*/};                                  

2004-12-27 14:29:00 1937

原创 signal.h /usr/include/asm/signal.h

#ifndef _ASMi386_SIGNAL_H#define _ASMi386_SIGNAL_H#include /* Avoid too many header ordering problems.  */struct siginfo;#define SIGHUP   1#define SIGINT   2#define SIGQUIT   3#define SIGILL   4

2004-12-23 20:44:00 2313 1

原创 sample_fork.c

#include #include #include int main(){     pid_t  pid=0;     if((pid=fork())>0)         printf("I am the parent,my pid %u,my childs pid=%u/n",getpid(),pid);     else if (pid==0)         printf("I am

2004-12-23 20:26:00 1746 1

原创 MFC应用程序中指针的使用

MFC应用程序中指针的使用作者:gouguijia1) 在View中获得Doc指针2) 在App中获得MainFrame指针3) 在View中获得MainFrame指针4) 获得View(已建立)指针5) 获得当前文档指针6) 获得状态栏与工具栏指针7) 获得状态栏与工具栏变量8) 在Mainframe获得菜单指针9) 在任何类中获得应用程序类10) 从文档类取得视图类的指针(1)11) 在A

2004-12-23 15:15:00 1696

原创 BOF, EOF, and Bookmark Properties Example (VC++)

MDAC 2.5 SDK - ADO BOF, EOF, and Bookmark Properties Example (VC++)The first function in this example uses the BOF and EOF properties to display a message if a user tries to move past the firs

2004-12-21 20:21:00 5931 1

原创 HRESULT

HRESULTThe HRESULT data type is a 32-bit value that is used to describe an error or warning.typedef LONG HRESULT; RemarksOn 32-bit platforms, the HRESULT data type is the same as the

2004-12-21 18:03:00 1875 1

原创 CObject

// This is a part of the Microsoft Foundation Classes C++ library.// Copyright (C) 1992-1998 Microsoft Corporation// All rights reserved.//// This source code is only intended as a supplement to the//

2004-12-21 11:44:00 2837

原创 CCmdTarget

// This is a part of the Microsoft Foundation Classes C++ library.// Copyright (C) 1992-1998 Microsoft Corporation// All rights reserved.//// This source code is only intended as a supplement to the//

2004-12-21 11:42:00 3647

原创 进程与线程

进程是装入内存,且准备执行的程序。该程序运行在私有的虚拟地址空间内,且包含代码、数据及进程可看到和使用的操作系统资源(如文件和管道)。进程包含一个或者多个运行在它的上下文环境内的线程。虽然,每个进程启动时只有一个线程,但在程序运行中可创建多个独立执行的线程。  线程是从操作系统接受CPU时间片的基本对象。线程是代码执行的流程,它可以执行应用程序代码的任何部分,包括别的正在执行的那部分代码。属于某进

2004-12-18 15:00:00 1843 6

原创 basic win32 api mode

1.must have an entrypoint: WinMain2.must have a  function to solve message loop.//sothing.c#include int PASCAL WinMain(HINSTANCE,HINSTANCE,LPSTR,INT);LRESULT CALLBACK WndProc(HWND,UINT,WPARAM,LPARAM);

2004-12-18 13:17:00 1687 2

空空如也

空空如也

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

TA关注的人

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