Forum: C++ Nov 25th, 2008 |
| Replies: 4 Views: 283 Im sorry i dont understand. Your talking to someone that has less than 3 months under him of C++ knowledge. I dont know how to do either of those things or why that would help.. more over the WHY... |
Forum: C++ Nov 25th, 2008 |
| Replies: 4 Views: 283 I dont understand how I could be doing two things at once or how to implement that code. I really just need a reason why the balences are not being added up properly.
When I remove that line, the... |
Forum: C++ Nov 24th, 2008 |
| Replies: 4 Views: 283 OK I have a function that calls an array of class types and I need to remove any duplicates from the array. That is what the function is for.
So I created an operator overload for the '+' operator... |
Forum: C++ Nov 20th, 2008 |
| Replies: 13 Views: 973 -.-.... I forgot to change to forward decoration... god I feel dumb
Thank you for all your help. I have a much broader understanding of how types work. |
Forum: C++ Nov 20th, 2008 |
| Replies: 13 Views: 973 I understand that much but when I plug Loanc into the function type, the compiler starts cursing at me saying that it isnt a viable function type. I cant seem to get the return type and the function... |
Forum: C++ Nov 20th, 2008 |
| Replies: 13 Views: 973 error C2440: '=' : cannot convert from 'Loanc' to 'int'
..still getting the same error.
Here is my whole project.
The reason I didnt post it all before was because I thought it was much more... |
Forum: C++ Nov 19th, 2008 |
| Replies: 13 Views: 973 error C2440: '=' : cannot convert from 'Loanc' to 'int'
Thats the error I keep getting.
Where Loanc is my Class file, equivalent to what customer is in my first post.
If I were to change the... |
Forum: C++ Nov 19th, 2008 |
| Replies: 13 Views: 973 OK. Customer() doesnt exist in any of my files. So far I have
Loan.h --- Header File
Loan.cpp --- mutator file
Loanmain.cpp --- Main C++ file.
I have my load class already made and my... |
Forum: C++ Nov 19th, 2008 |
| Replies: 13 Views: 973 I apologize for not making that clear. That line is reference because it was given to me like that for reference. I want to take those three variables that are enclosed by 'customer' and insert them... |
Forum: C++ Nov 17th, 2008 |
| Replies: 13 Views: 973 I have been writing a Loan Program that requires at one point to read a .txt file and create an array from the contents.
This part is nothing new to me. The problem I have is a single line of code... |