![]() |
![]() |
#1 (permalink) |
Upright
|
[c] simple int pointer driving me insane!
basically, I have a function that is being passed an int pointer, int *begin let's say, and I just want to USE THE THING.
I thought that if I say wrote: int k = *begin; the * would get the actual value of begin into k, instead of the what it's pointing to, but I keep getting segmentation faults! |
![]() |
Tags |
driving, insane, int, pointer, simple |
|
|