So basically I'm making a generic sort of class that takes in something and can store, compare it, etc. For testing I just set it up to take in a char and (ideally) print one back out, but whenever I do, it just prints out a bunch of Hex at me. I've shrunk it down for easy of reading.
And my output is 8 hex digits, the first four of which vary each time I run it and the last four are 7640 (which I'm guessing is related to 'a' somehow)
Any ideas? This is part of a giant sized project, I've just narrowed the issue to here and tried to generalize the question as much as I can.
Cheers!
Small edit: The reason for not simply saying "Generic toTest(a)" is that the driver I'm testing for specifically creates a new Generic pointer (Fun stuff, I know).
Wow, maybe by senior year I'll remember to dereference. *smh* Thanks for the quick reply, I'm as grateful as I am embarrassed. Just saved me a lot of pain :)