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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by kevinmb

  1. kevinmb

    c++ beginner help

    The reason I don't do it that way is because I want a user to be able to input other values. The char card[3]("A"); line was just used to initialize the variable. But when it is read in from the keyboard, the user should be able to enter a value of one or two characters (hence, the [3] ). But it...
  2. kevinmb

    c++ beginner help

    I am having trouble passing a data value to a function. Here is my code: void get_hand() { char card[3]("A"); int number(0), score(0); instructions(); cout << "How many cards are you holding? "; cin >> number; value_check(number); do { cout << "Enter...

Part and Inventory Search

Back
Top