Results 1 to 2 of 2

Thread: help wit some vaiables

  1. #1
    Join Date
    Aug 2004

    help wit some vaiables

    hey guys,
    the question im seeking to find an answer to is i need to give a grade letter of B+,C+, and D+ a value. now i thought that i would be able to write it as

    double A+ = 4.0;

    but this didnt work due to the addition operator. so what should i do? not really sure. maybe someoen here knows?

    thnks guys

  2. #2
    Join Date
    Jan 2004
    Melbourne, Australia
    Remove the plus sign... A variable is destroyed upon compilation anyway. Its just a space of memory.

    You can setup an array of strings and display the correct one depending on the users score.


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center

Recent Articles