yeah, it 'tis a bit late....
well I changed the case sensitive items (can't believe I missed those) and I will work on the functions. Back to more reading! Thanks !! ;)
Type: Posts; User: scipitam
yeah, it 'tis a bit late....
well I changed the case sensitive items (can't believe I missed those) and I will work on the functions. Back to more reading! Thanks !! ;)
ok, just tried it again to double check myself and I now have 6 errors instead of 3...so, I am sure that is not the problem...
yeah, I already tried this and in numerous ways! lol
tks!!
I am trying to constuct a class that will represent an employee. I believe my declaration matches the definition of the constructor. Why am I getting the below errors? why would they be invalid...
Thanks for your help.. :)
Why would I be getting the error "expected primary-expression before '{' token" ?
struct Date
{
int month;
int day;
int year;
};
does this look a bit better?
struct Info
{
string name;
string teleno;
Info * next;
};
ok, well let me just scrap that...I have to say, I am totally new to C++ and am really finding this overwhelming. I am trying to return the later of any 2 dates passed to a function named larger()
I was told to do this to find the "later" date that was input
// what are you trying to do here?
Date.year*10000
Date.month*100
Date.day
I need to remove an existing structure from a linked list of structures and the argument passed to remove() should be the address of the structure preceding the record to be removed....is this a good...
going to just show you what I have so far...
struct
{
int month;
int day;
int year;
} Date1, Date2;
int larger(Date1[], Date2[]); //function name
Can anyone give pointers on how to write a funtion that would return the later of any two dates passed to it?