|
From: Johannes P. <joh...@pr...> - 2001-09-03 09:56:29
|
Do you have some example code. for it seems you know what you want to do and have the right functions but something else is wrong. Please give a simple app or something that you wrote that gives this same problem and we can look at it. Futher we can only specilate as we dont really know the actual source of the problems and the coding style or mixture being used Hope we can Help Johannes At 11:25 03/09/2001 +0200, you wrote: >hi, i am trying to convert a simple integer or byte or anything else >to a string in order to write to a file on disk. > >It does not work the way i did it for years with e.g. Microsoft C7.0 >(Win3.1) and Visual C 6.0 (W32) - dont know why. > >a) >How do i convert a number liek eg int a = -105 to exactly ythis >string ? > > >b) Which function would be the best to write and read the correct >format fomr and to HD-Files ? > >I used to apply fprintf with formatted strings to read full lines of a file >with known structure and directly obtained the desired variables. > >I copied the source code from a DOS prog and DEV C compiles >but reads only shit ! > >Sorry for that, but I am going to get upset with this compiler. > >Does any body have an example wich directly works in DEV CPP >to find out where the problem is ? > >thanks in progress. >............... > > >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |