Thanks for all of your help, I took a break and thought about what you both said, after a good nights sleep, it all made a bit more sense to meand my program is now working!
Type: Posts; User: jamjar
Thanks for all of your help, I took a break and thought about what you both said, after a good nights sleep, it all made a bit more sense to meand my program is now working!
I am trying to understand them gg, seems like a lot to learn some days :) ! The errors are not compile errors, the program compiles, but when I try to run the program I get the linker errors I...
Thanks for the help gg, I made the changes you suggested, I must have forgotten to save the change last time in my confused, frustrated state! I have fixed those problems, but am still getting the...
Thanks Codeplug, I have posted my non working version, where I have tried to split the file.
Cheers
Thanks for that, I made the change to my code, but it still has the same problem (which is a bit of a worry, as it means that there are further problems its not even finding yet!!).
I wrote a program and header files that compiles and runs correctly (Visual C++), but when I try to write implementation files for the headers the program no longer works, it compiles but when I try...
Hi joshdick, the desired output of
a = a + Enrolment(50, 500);
a = a + Enrolment(20, 200);
should be:
course enrol: 70
cost 700.
I am not sure how to do that (overload my operator for enrolments from within the Course class). I tried a few different things, but it is becoming increasingly obvious that I haven't got a clue.
...
I am wondering if anyone can help me, I fairly new to C++ and am trying to implement an addition operator that acceptsan object based on another class as a parameter. I have tried a few things, but I...
Thanks for the tips Salem,one thing I am having trouble with is that I get an error whenever I try to populate the new structure. I have tried several different types of syntax for this
i...
It is in C, the obvious mistake I made was that I should have written clients instead of students (too many programs with student lists!) here:
int main(int argc, char **argv)
{
I am having trouble creating a linked list, if anyone could point me in the right direction I will be really grateful. The errors I get is on the insert line (not enough parameters) and I am not sure...
Thanks Magos, I knew it would be something stupid, and when I remembered to put void in it worked. Thanks so much for your help.
I hope someone can help me, I am a beginner, and reading the posts here I am a bit out of my depth. I am trying to pass a string to a function, I have looked at other code examples and I cannot...