11 2011 档案
摘要:如果不想使用.net的webparts里的向导控件,可以自己设计一个简单的。我设计一个简单的向导框架,思路是这样的: 1. 首先会有一个向导类,我把它叫Navigation, 向导类有一个容器,里面包括本次向导中所有窗体。向导提供了向导框架中所有核心功能,比如:start, next step,previous step, finish。 2. 设计一个窗体基类,暂且叫BaseForm.所...
阅读全文
摘要:最后,内存分配直接用realloc来实现,该函数签名如下: void *realloc( void *memblock, size_t size ); 对于释放内存则直接利用memmove函数来实现 Moves one buffer to another. void *memmove( void *dest, const void *src, size_t count ); ...
阅读全文
摘要:Here is the senario in my requirements: I need store datetime value in a serialization file(binary file). the file will be transfer to server side by network. the server-side is used c plus p...
阅读全文