Search:

Type: Posts; User: Ralph Wiggum

Search: Search took 0.00 seconds.

  1. Edit. I just read my own post and realized I did...

    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...
  2. Getting a const correctness error when using "sort" from STL.

    Problem is solved so deleting the question so no one wastes time trying to solve it.
  3. Makes sense and worked like a charm. Thanks.

    Makes sense and worked like a charm. Thanks.
  4. Can I call the NULL constructor from another constructor to save code duplication?

    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...
  5. Replies
    7
    Views
    1,343

    Thank you. I will do that from now on. I've...

    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...
  6. Replies
    7
    Views
    1,343

    These two changes made it work. Thanks.

    These two changes made it work. Thanks.
  7. Replies
    7
    Views
    1,343

    Template Linking Error

    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...
Results 1 to 7 of 7