#include <cctype>
#include <cassert>
#include <iostream>
#include <fstream>
#include <string>
#include <boost/foreach.hpp>
#include <boost/format.hpp>
Namespaces | |
namespace | boost |
Functions | |
int | main (int argc, char *argv[]) |
Usage: txt2bin <input> <output>
Example input file:
1 0 1 2 2 3 4 5 0.5 0.4 0.6 0.1
Each row of the text file must contain the same number of columns. Columns are separated by single spaces or tabs.