Skip to content

Instantly share code, notes, and snippets.

@orlp
Created October 30, 2014 22:39
Show Gist options
  • Save orlp/a0aba247345baaf8c393 to your computer and use it in GitHub Desktop.
Save orlp/a0aba247345baaf8c393 to your computer and use it in GitHub Desktop.
#include <iostream>
#include <gears/io.hpp>
int main(int argc, char** argv) {
std::cout.fill('X');
gears::io::fprint(std::cout, "|0:2|\n", 1); // should print " 1" prints "X1"
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment