News

I have to create a binary search using pointer for a school assignment. I haven't had much luck getting it to work (please keeping mocking and laughter to a minimum)quote: int Search(int num ...
Just remember casting pointer to int is a bad idea. When someone port the code to 64bit the pointer will be 64bit but int usually stay at 32bit.