No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
this is a similar example to what i have. it's simplified but it still get's the same error. i need to be able to use << operator to print out all information from class A. i have no idea how to do that. i tried casting it as an A … | |
I'm having trouble initializing Objects while they're inside if else statements. I'm using Visual C++ 2008. for instance: [CODE] class Account { Account(); Account(int = idnum, double creditLimit = 500.00); Account(double initBal, int idnum, double creditLimit = 100.00); public: somefunction(); }; if (a > 0 && b > 0) { … |