stop a console
#include "stdafx.h"
#include <cstdio>
int _tmain(int argc, _TCHAR* argv[])
{
std::getchar();
return 0;
}
除錯
CString s;int out=0;
s.Format("%d",out);
AfxMessageBox(s);
呼叫靜態lib方法
#include "..\_INC\dd.h"#pragma comment(lib,"../_LIB/dd.lib")
//靜態連結 lib, dll兩個檔案都需要
呼叫動態dll方法
https://stackoverflow.com/questions/27665174/how-to-call-a-dll-built-by-labview-with-c
////動態連結只需要 dll
留言
張貼留言