#include <stdio.h>
Go to the source code of this file.
Classes | |
struct | AutoFile |
Functions | |
int | error_messager (const char *filenum, const int line, const char *errormessage) |
bool | file_exists (const char *file_name) |
int | write_vector_to_file (FILE *fp, double *vector, size_t n, int offset) |
int | write_vector_to_file (const char *file_name, double *vector, size_t n, int offset) |
int | read_vector_from_file (FILE *fp, double *vector, size_t n, int offset) |
int | read_vector_from_file (const char *file_name, double *vector, size_t n, int offset) |
int | write_vector_to_file (const char *file_name, double *vector, const int n) |
int | write_int_vector_to_file (const char *file_name, int *vector, const int n) |
int | read_vector_from_file (const char *file_name, double *vector, const int n) |
int error_messager | ( | const char * | filenum, | |
const int | line, | |||
const char * | errormessage | |||
) |
bool file_exists | ( | const char * | file_name | ) |
int read_vector_from_file | ( | const char * | file_name, | |
double * | vector, | |||
const int | n | |||
) |
int read_vector_from_file | ( | const char * | file_name, | |
double * | vector, | |||
size_t | n, | |||
int | offset | |||
) |
int read_vector_from_file | ( | FILE * | fp, | |
double * | vector, | |||
size_t | n, | |||
int | offset | |||
) |
offset | number of items from beginning of file |
int write_int_vector_to_file | ( | const char * | file_name, | |
int * | vector, | |||
const int | n | |||
) |
int write_vector_to_file | ( | const char * | file_name, | |
double * | vector, | |||
const int | n | |||
) |
int write_vector_to_file | ( | const char * | file_name, | |
double * | vector, | |||
size_t | n, | |||
int | offset | |||
) |
int write_vector_to_file | ( | FILE * | fp, | |
double * | vector, | |||
size_t | n, | |||
int | offset | |||
) |
offset | number of items from beginning of file |