Search:

Type: Posts; User: Moth

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,355

    Ah, thank you! The bottom one (where I left...

    Ah, thank you!

    The bottom one (where I left out "day") was just a typo, but I didn't know you had to do the same with multiple ors. Looking back now, I don't know why I thought that since it's...
  2. Replies
    4
    Views
    1,355

    I ended up adding if (leap(year) == false...

    I ended up adding


    if (leap(year) == false && month == 2)
    return ((month == 2 && day <= 28 >= 1) && (year <= 2100 && year >= 1800));


    to it in case anyone is curious. I would have...
  3. Replies
    4
    Views
    1,355

    Help with a bool statement

    Hey, first time poster, in fact I registered for this site to ask this question, as selfish as that is.

    I'm taking my first programming class, a C++ class. I've had pretty much no problems so far,...
Results 1 to 3 of 3