Editing Octave load
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 20: | Line 20: | ||
std::fstream file; | std::fstream file; | ||
std::ios::openmode m = std::ios::in; | std::ios::openmode m = std::ios::in; | ||
bool check_gzip_magic (const std::string& fname); | |||
bool fexists (const std::string& fname); | |||
load_save_format format = LS_BINARY; | load_save_format format = LS_BINARY; | ||
oct_mach_info::float_format flt_fmt = oct_mach_info::flt_fmt_unknown; | oct_mach_info::float_format flt_fmt = oct_mach_info::flt_fmt_unknown; | ||
Line 26: | Line 28: | ||
int main (void) | int main (void) | ||
{ | { | ||
int mode = 1; | |||
double **data; | |||
int *rank; | |||
int **shape; | |||
string_vector argv (1); | string_vector argv (1); | ||
Line 67: | Line 73: | ||
$ mkoctfile --link-stand-alone octave_binary_io_example.cc | $ mkoctfile --link-stand-alone octave_binary_io_example.cc | ||
$ ./a. | $ ./a.ut | ||
</syntaxhighlight>}} | </syntaxhighlight>}} | ||
[[Category:Outdated pages]] | [[Category:Outdated pages]] |