Search:

Type: Posts; User: Thrownawii

Search: Search took 0.01 seconds.

  1. Replies
    22
    Views
    5,858

    I appreciate all the work you put into that. I...

    I appreciate all the work you put into that. I have to use this code though



    #include <iostream>
    #include <iomanip>
    #include <string>
    #include "date.h"
    using std::cout;
    using std::endl;
  2. Replies
    22
    Views
    5,858

    So I see he took out the "{month = (mm);" Was...

    So I see he took out the "{month = (mm);" Was there any reason for that?
  3. Replies
    22
    Views
    5,858

    So are you saying that instead of "month = mm" ...

    So are you saying that instead of "month = mm" it should be "mm = month"?
  4. Replies
    22
    Views
    5,858

    I understand that and I am sorry for asking so...

    I understand that and I am sorry for asking so many questions. I just want to understand what I did wrong fully before I move on.
    Is this all I needed to do to fix that? Then make the get...
  5. Replies
    22
    Views
    5,858

    Thank you so much for you help. So really, you...

    Thank you so much for you help. So really, you need to have the functions in the set functions to validate the constructor and set functions, otherwise the set functions does not serve its purpose?
  6. Replies
    22
    Views
    5,858

    Ahhhhh I see that makes alot of sense. How would...

    Ahhhhh I see that makes alot of sense. How would you do that with the string function?
  7. Replies
    22
    Views
    5,858

    well my teacher said exactly "The validation...

    well my teacher said exactly "The validation logic is backwards. Per the assignment, the ctor (or set methods) need to validate the parameters and leave the object in a valid state. If...
  8. Replies
    22
    Views
    5,858

    Need to fix my validation logic.

    I need help correcting my logic from another post. https://cboard.cprogramming.com/cplusplus-programming/174566-trying-connect-together-header-two-cpp-files-any-help-would-appreciated.html
    ...
  9. turns out I had to have them in the same folder. ...

    turns out I had to have them in the same folder. Thanks everyone
  10. I think I narrowed it down to my header file. ...

    I think I narrowed it down to my header file. Either my header guards arent working or something is duplicating something? I am not sure.
  11. Thanks you guys. I appreciate the help. I am...

    Thanks you guys. I appreciate the help. I am now getting an error saying [Error] redefinition of of 'void Date:: etc.'
  12. Trying to connect together a header and two cpp files. Any help would be appreciated

    I had all of my code in working order when it was all just in one file. Once I tried to separate it into a header and another source file, it does not work anymore. I hope hoping that someone could...
Results 1 to 12 of 12