Guest User

Untitled

a guest
Jun 23rd, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. TestDLL.h
  2.  
  3. #ifndef __TESTDLL__
  4. #define __TESTDLL__
  5.  
  6. class TestDLL
  7. {
  8. private :
  9. static int _testint;
  10.  
  11. public:
  12. static int GetTestInt() { return _testint;}
  13.  
  14. TestDLL();
  15. }
  16.  
  17. #endif // __TESTDLL__
  18.  
  19.  
  20.  
  21. TestDLL.cpp
  22.  
  23.  
  24. #include <iostream>
  25. using namespace std;
  26.  
  27.  
  28. #include "TestDLL.h"
  29.  
  30.  
  31. int TestDLL::_testint = 100;
  32.  
  33.  
  34. TestDLL::TestDLL()
  35. {}
Add Comment
Please, Sign In to add comment