Edit. I just read my own post and realized I did not have enough const qualifiers in there. I added the rest in and everything works. I don't see a "solved" button to mark solved, but this is now...
Type: Posts; User: Ralph Wiggum
Edit. I just read my own post and realized I did not have enough const qualifiers in there. I added the rest in and everything works. I don't see a "solved" button to mark solved, but this is now...
Problem is solved so deleting the question so no one wastes time trying to solve it.
Makes sense and worked like a charm. Thanks.
The code below works. I have a simple class with one integer and an array of integers. I have a NULL constructor that initializes the integer to 0, and initializes the array to have 0 elements. I...
Thank you. I will do that from now on. I've seen reserved terms like __cplusplus which are proceeded by two underscores and a lower case letter. You're saying that I, the programmer, should never...
These two changes made it work. Thanks.
First post here. I think I am missing a "T" somewhere. Anyway, this is just a trivial container task that holds one element. All I have written is a constructor. It works fine when the...