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
...
Type: Posts; User: s_UNI_
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
...
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...
I will fix this!!
Thanks!!
Will this help compiling?
the function declaration:
(in date.h)
void operator++(date& oldDate);
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...
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...
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...
It compiled!! Thankyou so much!! Of course, it is not doing what it should, but that I can figure out!!
Thankyou!! I Will Try Now
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...
Thankyou for your help!! I will try this now!!
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)....
Thankyou so much for the logic!! That IS logical when you use bool- it also helped me with a program!!
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!!
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:
...
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...