whenever I use this function:
I get the error (when I run the program) "Segmentation fault". Anyone know what causes this?Code:bool register_script(FILE *file, char *argv) { if( (file = fopen(argv,"r+")) == NULL) { return false; } else { return true; } return true; }
I'm using GCC 3.3 (Linux).



LinkBack URL
About LinkBacks



