36 lines
559 B
C++
36 lines
559 B
C++
#include <iostream>
|
|
#include <windows.h>
|
|
#include "../dynamicLib/Header.h"
|
|
|
|
using namespace std;
|
|
|
|
int main() {
|
|
/*HINSTANCE load;
|
|
load = LoadLibrary(L"dynamicLib.dll");
|
|
|
|
typedef int (*pow) (int, int);
|
|
pow Pow;
|
|
|
|
Pow = (pow)GetProcAddress(load, "Pow");
|
|
int a, b;
|
|
|
|
cout<<"Keep 2 numbers that you want to power: ";
|
|
cin >> a;
|
|
cin >> b;
|
|
cout << "Pow: ";
|
|
cout << Pow(a, b) << endl;
|
|
|
|
cout << "a > b: " ;
|
|
cout << Compare(a, b);*/
|
|
|
|
|
|
SpeedConverter(100, "kmh");
|
|
SpeedConverter(60, "mph");
|
|
|
|
FindSmallestFileInFolder();
|
|
|
|
|
|
//FreeLibrary(load);
|
|
|
|
return 0;
|
|
} |