Search:

Type: Posts; User: s_UNI_

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    1,781

    I have totally lost me too!! You are totally...

    I have totally lost me too!!

    You are totally right though, when I changed to a bool, the error changed to


    # must take either zero or one argument#

    Then, I changed it a bit more as

    ...
  2. Replies
    10
    Views
    1,781

    I have fixed this problem... Still, my error...

    I have fixed this problem...

    Still, my error is:


    date.h:36: error: postfix `bool date::operator++(date&)' must take `int' as its
    argument
    date.cpp:162: error: postfix `bool...
  3. Replies
    10
    Views
    1,781

    I will fix this!! Thanks!! Will this help...

    I will fix this!!

    Thanks!!

    Will this help compiling?
  4. Replies
    10
    Views
    1,781

    the function declaration: (in date.h) void...

    the function declaration:
    (in date.h)


    void operator++(date& oldDate);
  5. Replies
    10
    Views
    1,781

    my member function (if this is what I think it is...

    my member function (if this is what I think it is ) is
    date (unsigned newDay, unsigned newMonth, unsigned newYear)

    and my default sets day and month to 1 and year to 0000;

    Am I even...
  6. Replies
    10
    Views
    1,781

    not sure...

    I am not sure what you mean?
    my .h and .cpp have same names...

    my private members are
    unsigned day
    unsigned month
    unsigned year

    As for accessing private members, I tried to daclare...
  7. Replies
    10
    Views
    1,781

    probly a simple solution

    hi guys,
    can someone HELP

    I have a class that receives a start date and end date
    (ie. as 12 11 2005) and I have to print out the dates in between
    in form 12 November 2005.

    I have various...
  8. Replies
    3
    Views
    971

    It compiled!! Thankyou so much!! Of course, it is...

    It compiled!! Thankyou so much!! Of course, it is not doing what it should, but that I can figure out!!
  9. Replies
    3
    Views
    971

    Thankyou!! I Will Try Now

    Thankyou!! I Will Try Now
  10. Replies
    3
    Views
    971

    simple help!! I am failing with CLASS

    HI GUYS
    I am in big trouble!!

    I have so many problems it is hard to know where to begin. Firstly, I will show code:


    #include <iostream>
    #include <fstream>
    #include <string>
    #include...
  11. Thread: <enter> to quit

    by s_UNI_
    Replies
    2
    Views
    1,720

    Thankyou for your help!! I will try this now!!

    Thankyou for your help!! I will try this now!!
  12. Thread: <enter> to quit

    by s_UNI_
    Replies
    2
    Views
    1,720

    to quit

    Hi guys,
    This may be a really dumb question but I can't seem to do this one simple thing.

    I want to receive 2 strings and output stuff while the user wants me to. (I was thinking a for(;;) loop)....
  13. Replies
    11
    Views
    6,047

    Thankyou so much for the logic!! That IS logical...

    Thankyou so much for the logic!! That IS logical when you use bool- it also helped me with a program!!
  14. Replies
    2
    Views
    1,063

    Thankyou so much!! That makes so much sense!! It...

    Thankyou so much!! That makes so much sense!! It was of course a total misunderstanding on my part on what I was trying to achieve but now I think I get it!! That is so much easier!!
  15. Replies
    2
    Views
    1,063

    return, cout and two values

    hi guys, I am the worst programmer/learner in the world and this will be obvious in a sec.
    My program has two strings in a library, the second of which has three substrings.
    ie:
    ...
  16. Replies
    4
    Views
    1,900

    mega compile errors for small program

    Hi guys, there is something really strange going on with an assignment due by midnight!!
    I have read archives, advice etc and can't relate it to what I am doing.

    I have to write a library and...
Results 1 to 16 of 16