Skip to content

Instantly share code, notes, and snippets.

// Simple rtti2pnm converter
// Assumes little endian rtti and binary i/o from stdin/stdout (Posix)
#include <iostream>
#include <string>
int main(int argc, char** argv)
{
enum State {
TYPE,