Functions

textfile.cpp File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string>

Functions

char * textFileRead (char *fn)
 reads a text file. Returns zero length array if not successful. ///////////////////////////////////////////////////////////////////
int textFileWrite (char *fn, char *s)
 writes in a text file. Returns 1 if successful, 0 if not.

Function Documentation

char* textFileRead ( char *  fn)

reads a text file. Returns zero length array if not successful. ///////////////////////////////////////////////////////////////////

int textFileWrite ( char *  fn,
char *  s 
)

writes in a text file. Returns 1 if successful, 0 if not.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines