07 2011 档案
摘要:set nocompatiblesource $VIMRUNTIME/vimrc_example.vimsource $VIMRUNTIME/mswin.vimbehave mswinset diffexpr=MyDiff()function MyDiff() let opt = '-a --binary ' if &diffopt =~ 'icase' | let opt = opt . '-i ' | endif if &diffopt =~ 'iwhite' | let opt = opt . '-b
阅读全文
摘要:用C++写程序程序都几年了,自己学得也算得心应手。不过最近在看别人写的代码时,觉得自己对C++的不是很深入的了解,很多东西都已经忘了。最拿C++数组地址来说。#include <stdio.h>typedef struct{ int a; int b;}TESTSTRUCT;TESTSTRUCT g_TestStruct[5];int main(int argc, char *argv[]){ printf("sizeof(TESTSTRUCT) = 0x%x\n", sizeof(TESTSTRUCT)); printf("[g_TestStruct
阅读全文

浙公网安备 33010602011771号