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...
Type: Posts; User: andy09
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...
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...
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...
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...
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...
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 */...