随笔分类 - c/c++
摘要:typedef unsigned int UINT; //2字节typedef unsigned long DWORD; //4个字节(32伟)1、位图文件头:(14Byte)1 typedef struct tagBITMAPFILEHEADER { /* bmfh */ 2 UINT bf...
阅读全文
摘要:vc++6.0中选择Tools->Options->目录,加入include和lib的路径,这样就可以添加头文件,直接引用包含的库函数。是不是so easy。vc2010中在项目上右键属性,link,添加库和lib
阅读全文
摘要:首先编写一个python脚本,命名为pytest.py;1 def add(a,b):2 print "in python function add"3 return a+bc调用python示例: 1 #include 2 #include 3 //#include "C:/Python27/include/python.h" 4 //#pragma comment(lib, "C:\\Python27\\libs\\python27.lib") 5 //若在编译器设置了include和lib路径以上两行可以转化为 6 #inclu
阅读全文
浙公网安备 33010602011771号