Search:

Type: Posts; User: andy09

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    2,220

    Assume "answer" is return value > 0 and i want to...

    Assume "answer" is return value > 0 and i want to save
    that value and kept doing it until i finish check all 3 number...then i retreat
    and use computation... please help my code...if pointer...
  2. Replies
    7
    Views
    2,220

    return decimal number back caller function

    Hi,

    I am new to pointer..and trying to use pointer in my program.

    here is what I want pointer does....

    IN my program, I have a function definition that return back to caller function with a...
  3. Thread: fprintf

    by andy09
    Replies
    8
    Views
    5,688

    int replaceNibble (int number, int nibble, int...

    int replaceNibble (int number, int nibble, int value, int newVal, FILE* out)

    After I passed " FILE* out" in the function, then the code works like a charm. Thanks you...
  4. Thread: fprintf

    by andy09
    Replies
    8
    Views
    5,688

    open attached file for code If return 1,...

    open attached file for code


    If return 1, then I want "d" write to output.txt file.. or else false return back function caller


    Just look at "int replaceNibble (int number, int nibble, int...
  5. Thread: fprintf

    by andy09
    Replies
    8
    Views
    5,688

    FILE* out; int number, result; number = 291;...

    FILE* out;

    int number, result;
    number = 291;
    result = 15;

    d = number ^ result; /* OR to get answer to store to output file */
    fprintf(out, "%d", d);

    Ok, I remove extra ( ) like you guys...
  6. Thread: fprintf

    by andy09
    Replies
    8
    Views
    5,688

    fprintf

    I have trouble fprintf to output.txt file..

    FILE* out;

    int number, result;
    number = 291;
    result = 15;

    d = number ^ result; /* OR to get answer to store to output file */...
Results 1 to 6 of 7