Hmmm... but i'am have some trouble:
error LNK2019: unresolved external symbol "public: void __thiscall ISampleClass::DemoFunction1(void)" (?DemoFunction1@ISampleClass@@QAEXXZ) referenced in function _wmain
error LNK2019: unresolved external symbol "public: void __thiscall ISampleClass::DemoFunction1(void)" (?DemoFunction1@ISampleClass@@QAEXXZ) referenced in function _wmain
To copy to clipboard, switch view to plain text mode
#include "stdafx.h"
#include <string.h>
#include <iostream>
#include "../test/ISample.h"
#pragma comment(lib,"D:\\QT_PROJECT\\test\\debug\\test.lib")
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
ISampleClass a;
a.DemoFunction1();
return 0;
}
#include "stdafx.h"
#include <string.h>
#include <iostream>
#include "../test/ISample.h"
#pragma comment(lib,"D:\\QT_PROJECT\\test\\debug\\test.lib")
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
ISampleClass a;
a.DemoFunction1();
return 0;
}
To copy to clipboard, switch view to plain text mode
What wrong ???
Bookmarks