Skip to content

Instantly share code, notes, and snippets.

View tamaskenez's full-sized avatar

Tamas Kenez tamaskenez

  • Aarhus, Denmark
View GitHub Profile
@tamaskenez
tamaskenez / stringf.h
Last active October 21, 2015 10:42
stringf - printf to std::string
#ifndef STRING_INCLUDED_24298342934
#define STRING_INCLUDED_24298342934
#include <cstdio>
#include <string>
#include <cerrno>
// This file defines the function
//
// std::string stringf(const char* format_string, args...)