visual studio(2012)使用技巧
来源:互联网 发布:jdk 7u80 windows x32 编辑:程序博客网 时间:2024/05/21 06:29
1 预定义宏:
菜单栏 project-》Configuration property-》C/C++-》Preprocessor-》PreprocessorDefinitions
加入:USING_AMR;IF2;
相当于在整个project的文件中
#define USING_AMR
#define USING_IF2
2 使用lib文件:
菜单栏 project-》Configuration property-》Linker-》General-》Additional Library Directories,
加入 lib库所在的目录 如 D:\test\tst\Debug,
菜单栏 project-》Configuration property-》Linker-》Input -》Additional Dependencies
加入库的名字,如:test.lib
工程加入头文件或者依赖目录(project-》Configuration property-》VC__Directories)
-----possible add------
菜单栏 project-》Configuration property-》Linker-》Command Line -》Additional Options
加入库的名字,如:test.lib
使用lib库的文件加入 #pragma comment (lib,"test.lib")
0 0
- visual studio(2012)使用技巧
- visual studio使用技巧
- Visual studio 使用技巧
- Visual Studio 使用技巧
- Visual Studio使用技巧
- Visual studio使用技巧
- Visual Studio使用技巧
- Visual Studio使用技巧
- visual studio 使用技巧
- Visual Studio使用技巧
- Visual Studio使用技巧
- Visual Studio 使用技巧(初阶)
- Visual Studio 使用技巧(高阶)
- Visual Studio使用技巧手册
- Visual Studio 2008 使用技巧
- Visual Studio 2008 使用技巧
- Visual Studio使用小技巧
- Visual Studio使用技巧整理
- (三)简单工厂模式详解
- Linux之Makefile 通用版
- [BZOJ2157] 旅游 边权树链剖分
- 初玩凤凰模拟器
- Codeforces 721D (优先队列,模拟)
- visual studio(2012)使用技巧
- 51nod 1298 圆与三角形
- ubuntu主机无法远程登录
- 串行通讯
- LeetCode 299. Bulls and Cows
- 计算机键盘快捷键用法
- 51nod 1305 Pairwise Sum and Divide
- Hdu 4008 Parent and son(给你一棵树(n<=1e5),有Q次查询,每次输入X Y,意思是以X为根,输出Y的儿子节点中节点标号最小和子树中标号最小)
- 洛谷3376 网络最大流