I am rather new to programming and to C++, and one concept I can't seem to wrap my head around is pointers and how to use them syntactically. I can comprehend the "int a=1; int *b=&a; int c=*b" line of reasoning perfectly fine, although when you add in pointer arithmetic, arrays and passing pointers between functions, I quickly get lost.
I decided to try to get some practice and make a simple toupper() function here, but I'm running into compiling errors no matter what I do. The code and the current error (during linking) can be viewed here: http://codepad.org/XJCI9Kid
Any help you guys could offer me would be greatly appreciated. Thanks.
I decided to try to get some practice and make a simple toupper() function here, but I'm running into compiling errors no matter what I do. The code and the current error (during linking) can be viewed here: http://codepad.org/XJCI9Kid
Any help you guys could offer me would be greatly appreciated. Thanks.
Comment