Skip to content

Instantly share code, notes, and snippets.

View kamirr's full-sized avatar
🐴
horse

Kamil Koczurek kamirr

🐴
horse
  • Golem Factory
  • Poland
View GitHub Profile
#include <memory>
using namespace std;
shared_ptr<uint64_t> fibbonachiNumbers(unsigned size)
{
if(size == 0)
return nullptr;
shared_ptr<uint64_t> numbers(new uint64_t[size], [](uint64_t* pointer) { delete[] pointer; });
//...
bitFont.loadFromStream(fontStream("://BitFont.ttf"));
//...