Structure
Copy| Love.cpp
| Love.h
| pch.h
| pch.cpp
| framework.h
Code
Copy
#pragma once
#ifdef LOVE_EXPORTS
#define LOVE_API __declspec(dllexport)
#else
#define LOVE_API __declspec(dllimport)
#endif
extern "C" LOVE_API const char* StoreLove(const char* b64);
extern "C" LOVE_API const char* GetLove(const int number);
Copy
#include "pch.h"
#include "Love.h"
#include <iostream>
static unsigned int count = 500;
const char* StoreLove(const char* b64) {
return "Your love is safe !";
}
const char* GetLove(const int number) {
const char* UwU = "<3";
count--;
return UwU;
}
Ressources