Mail Archives: djgpp/1999/06/23/21:11:39
LogosAZ wrote:
>
> what command could read a string of characters out of a file into memory?
...
#include <stdio.h>
...
FILE *prFp;
char aString[1024*3];
if((pfFP=fopen("file_name", "rt")) == NULL)
exit(1);
fgets(aString, 1024*2, prFp);
...
--
+-------------------------------------------+
| Sistemas CORDON |
| |
| Aplicativos Definitivos |
| |
| Home Page: www.scordon.com.br |
| e-mail: producao AT scordon DOT com DOT br |
| |
+-------------------------------------------+
- Raw text -