@echo off:openchoice /c:123 /m "1:创建,2:终止,3:删除"if
errorlevel 3 goto deleteif errorlevel 2 goto endif errorlevel 1 goto
create:create@schtasks /create ...
分类:
其他好文 时间:
2014-05-24 00:59:01
阅读次数:
306
c语言里所有以#开头的都是预编译指令,就是在正式编译之前,让编译器做一些预处理的工作。
#ifdef DEBUG printf("variable x has value = %d\n",x);
#endif#if和#endif是配对的,叫做条件编译指令,如果满足#if后面的条件,就编译#if和#....
分类:
其他好文 时间:
2014-05-22 04:37:10
阅读次数:
251
>__ 1000 9 #pragma once10 #endif // _MSC_VER
> 100011 12 #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from
Windows headers13 14 15 ...
dllist.h 1 #ifndef _DLLIST_H 2 #define _DLLIST_H 3
4 #ifdef __cplusplus 5 extern "C" { 6 #endif 7 8 struct DLLNode_T{ 9 void
*pData; ...
分类:
其他好文 时间:
2014-05-18 19:51:42
阅读次数:
335
>__ 100010 #pragma once11 #endif // _MSC_VER
> 100012 13 #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from
Windows headers14 15 16 ...
>__ 100010 #pragma once11 #endif // _MSC_VER
> 100012 13 #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from
Windows headers14 15 16 ...
>_____ 100010 #pragma once11 #endif // _MSC_VER
> 100012 13 #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from
Windows headers14 15 ...
>_____ 100010 #pragma once11 #endif // _MSC_VER
> 100012 13 #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from
Windows headers14 15 ...
在c语言程序中调用c++库。需要做以下两步工作:
1、定义头文件时,要加上
#ifdef __cplusplus
extern "C"
{
#endif
头文件内容
#ifdef __cplusplus
}
#endif
这个是表示在c++编译器编译时,生成的函数名使用c语言格式修饰符。
2、在用gcc进行链接时,要加上 -lstdc+...
分类:
其他好文 时间:
2014-05-18 06:24:28
阅读次数:
378
>_ 100010 #pragma once11 #endif // _MSC_VER >
100012 13 #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows
headers14 15 16 /...
分类:
移动开发 时间:
2014-05-18 01:39:27
阅读次数:
403