#include <string>
#include <sstream>
#include <iostream>
#include <fstream>
Go to the source code of this file.
Functions | |
| std::string | itos (int i) |
| int-to-string conversion. | |
| int | print2file1d (const char *filename, double *numbers, int len) |
| Prints an array of numbers to a plain text file, one number per line. | |
| int | print2filebin (const char *filename, double *numbers, int len) |
| Prints an array of numbers to a binary file as one large sequence. | |
| int | print2file2d (const char *filename, double *numbers, int len) |
| Prints an array of numbers to a plain text file, two numbers per line. | |
Supplies functions for easy integer-to-string conversion and simple file-writing functions.
Albert-Jan Yzelman, yzelman@math.uu.nl
|
|
int-to-string conversion.
|
|
||||||||||||||||
|
Prints an array of numbers to a plain text file, one number per line.
|
|
||||||||||||||||
|
Prints an array of numbers to a plain text file, two numbers per line.
|
|
||||||||||||||||
|
Prints an array of numbers to a binary file as one large sequence. It assumes its input array (double*) only contains UNSIGNED INTs! (Numbers are cast down to unsigned ints)
|
1.3.9.1