Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting Hex data out of a file into a string
Message
 
 
À
18/10/2000 17:56:54
Josh Fedke
National Financial Corporation
Milwaukee, Wisconsin, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00431199
Message ID:
00431204
Vues:
10
>Yes, that will probably be helpful, but the problem is that I don't even get valid ints or strings from fgets() since it interprets the hex values that are in the file as characters before returning the value to me. This won't work when it runs across a value like "3C"...

Use fread() instead of fgets().
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform