Search Results

Showing results 1 to 12 of 12
Search took 0.01 seconds.
Search: Posts Made By: Jaycii
Forum: C++ Feb 18th, 2008
Replies: 17
Views: 1,526
Posted By Jaycii
I can't seem to edit my post anymore. Well, after going back through my code, I fixed part of the problem. [I can now add the values outside of the function I am calling]. But now all my values...
Forum: C++ Feb 17th, 2008
Replies: 17
Views: 1,526
Posted By Jaycii
savings [as well as checking] are from the Account class, but they are also members of the Customer class.
Forum: C++ Feb 17th, 2008
Replies: 17
Views: 1,526
Posted By Jaycii
Thank you for your help. I will look at that while I work on mine.

I also managed to get the other lines of code working, but the values still give the -9.4644e353.

I will post back if I find...
Forum: C++ Feb 17th, 2008
Replies: 17
Views: 1,526
Posted By Jaycii
Ah, I see what you mean. Well, checking goes through two classes, Customer, as well as Accounting, but getchecking shouldn't be trying to change anything.

I am checking back through, but I don't...
Forum: C++ Feb 17th, 2008
Replies: 17
Views: 1,526
Posted By Jaycii
Not sure if I am reading that correctly or not, but the semicolon throws a syntax error in.

And if I understand you correctly, I do have an overload operator=

[I may be reading that completely...
Forum: C++ Feb 17th, 2008
Replies: 17
Views: 1,526
Posted By Jaycii
getchecking() doesn't, but TotalBalance which is a member of Account does get changed when the two values are added.


I think I know the problem, but not sure how to fix it.

The variables for...
Forum: C++ Feb 17th, 2008
Replies: 17
Views: 1,526
Posted By Jaycii
It is defined inside of the Account class.
Forum: C++ Feb 17th, 2008
Replies: 17
Views: 1,526
Posted By Jaycii
If I switch it over to the way you just posted, I get the following error:

error C2662: 'getchecking' : cannot convert 'this' pointer from 'const class Account' to 'class Account &'
...
Forum: C++ Feb 17th, 2008
Replies: 17
Views: 1,526
Posted By Jaycii
I have cout statements to show the values for them and they are showing up correctly.

I am thinking it has to do with the way I am using it, I followed an example and I may have left something...
Forum: C++ Feb 17th, 2008
Replies: 17
Views: 1,526
Posted By Jaycii
I am trying to use an overloaded + operator to find the total balance for two values. I am messing up with the way to set them up, or forgetting something. I am getting values such as -9.543e2433
...
Forum: C++ Feb 12th, 2008
Replies: 2
Views: 683
Posted By Jaycii
I can't believe I missed that. I feel really dumb now.

Thank you so much, the error is gone now. It always seems to be the simple things that I miss.
Forum: C++ Feb 12th, 2008
Replies: 2
Views: 683
Posted By Jaycii
I am trying to take my array of classes and add the values from one part of it together.

I have everything ready but being able to add the parts of the array into a variable which I can use.
...
Showing results 1 to 12 of 12

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC