News

I'm trying to make a point in my C++/data structures class about two-dimensional arrays being an array of one-dimensional arrays, so I thought I'd be clever and whip up the following quickie sample ...
I have a bunch of hard-coded global 3D arrays of floats. I can loop through an individual 3D array just fine, but I also want to loop through all the 3D arrays. So, I thought of creating a ...
The previous two posts (part 1 and part 2) have been exploring the fundamentals of using pointers from the basics of declaring a pointer to the more complex notation of manipulating pointers. An ...
In part one of this series the basics of what a pointer is and how to declare one was examined in detail. It is now time to examine how pointers work when dealing with slightly more complex variables ...
In our first part on pointers, we covered the basics and common pitfalls of pointers in C. If we had to break it down into one sentence, the main principle of pointers is that they are simply data ...