char* value;
Where is the part that you have this pointer point to memory you can write to?
value += int(passkey[x]);
Can you describe in words what you believe this is doing?
num_value = atol (value);
Sinceatol requires a null-terminated string, where do you null terminate the "string"?
Dave Sinkula
long time no c
5,058 posts since Apr 2004
Reputation Points: 2,780
Solved Threads: 314