![]() |
[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! |
i figured it out, the problem lay in another file!
sorry |
All times are GMT -8. The time now is 09:41 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project