Functions

C:/Users/chrivieh/Desktop/My Dropbox/Studium/5. Semester/Visualisierung/Lab2/src/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 Friends Defines