Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. paulstat

    must have class/struct/union type

    Ok I'm trying to print out a returned integer such as. moneyBag.getCred(); Now i'm trying it in the following way. void interface1(Bank* moneyBag) { cout << moneyBag.getCred(); } But I get the following error, any suggestions? left of '.getCred' must have class/struct/union type
  2. paulstat

    'cout' ambiguous symbol???

    Ok I am trying to port my vending machine program from Java to C++, this isn't going a smoothly as I had planned however. And I get the following errors whenever I try to use cout. C2872: 'cout' : ambiguous symbol C2679: binary '<<' : no operator defined which takes a right-hand operand of...

Part and Inventory Search

Back
Top