23 FILE* f =
os::fopen(fileName.c_str(),
"wt");
25 const unsigned int sy = getSizeY(), sx = getSizeX();
26 for (
unsigned int cy = 0; cy < sy; cy++)
28 for (
unsigned int cx = 0; cx < sx; cx++)
Classes for serialization, sockets, ini-file manipulation, streams, list of properties-values, timewatch, extensions to STL.
This namespace provides a OS-independent interface to many useful functions: filenames manipulation...
int void fclose(FILE *f)
An OS-independent version of fclose.
bool saveToTextFile(const std::string &fileName) const
GLsizei const GLchar ** string
int fprintf(FILE *fil, const char *format,...) noexcept MRPT_printf_format_check(2
An OS-independent version of fprintf.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
FILE * fopen(const char *fileName, const char *mode) noexcept
An OS-independent version of fopen.