Search:

Type: Posts; User: waxby

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    1,141

    printf effects vars ?

    Hi !
    As a beginner in C I use a lot of printf() in my code to verify what's happening in my app. I just wrote an app. that scans thru a directory and made some tests on the fieldname. When I was...
  2. Thread: sprintf problem

    by waxby
    Replies
    4
    Views
    1,722

    Thanks

    Thanks for all your help !
    It's easy to be a beginner with a resource like this !!

    Regards
    Micael
  3. Thread: sprintf problem

    by waxby
    Replies
    4
    Views
    1,722

    Found a way around

    I solved by :

    fprintf( f, "%s", info );
    fprintf( f, "%s", " = " );
    fprintf( f, "%d", varde );
    fprintf( f, "%s", "\n" );


    Regards
    Micael
  4. Thread: sprintf problem

    by waxby
    Replies
    4
    Views
    1,722

    sprintf problem

    Hi !

    Does sprintf have an buffer or something. I do the following :

    PrintINT( myFile, "TEST INT ", 4500 );
    PrintINT( myFile, "TEST INT ", 4501 );


    void PrintINT( FILE* f, char...
  5. Replies
    3
    Views
    3,630

    I'am on track !

    GetPrivateProfileString() worked great. Now I just have to figure out on how to convert strings to doubles/int :-)

    I guess I havenä't started with the easiest as a completly beginner with C.
    ...
  6. Replies
    3
    Views
    3,630

    .ini file Read/Write

    Hi !
    I'm new to C-programmeing and need to read and write to an windows standard .ini file with sections aso.

    My question is if anyone have done it already and have some code for me to study and...
Results 1 to 6 of 6