Hi, all.
I need work with strings in Ox but I found some problems. Some I solved,
but one persists.
Supose the code bellow:
//===============================
main(){
decl data, sstring;
data = fopen("file.txt", "r");
fscanf(file, "%s", &sstring);
fclose(data);
}
//===============================
The file contains one string wich length is about 2650000 bytes. The error
mensage is "Symbol too long". How can I work with this string? My aim is
(like) invert the string in a file, that is,
if string = "A31K...5B", make a new file with "B5...K13A".
Thanks to everybody.
c.
========================================
Cezar Freitas (ICQ 109128967)
IMECC - UNICAMP
Campinas, SP - Brasil
|