Search:

Type: Posts; User: diyteam

Search: Search took 0.00 seconds.

  1. Thanks Daved I guess I'm still getting used to...

    Thanks Daved
    I guess I'm still getting used to arrays
    It works perfectly #.#
  2. tabstop/daved: Err, yeah. I have 5 elements but...

    tabstop/daved:
    Err, yeah. I have 5 elements
    but total[5] allows you to edit

    total[0]
    total[1]
    total[2]
    total[3]
    total[4]
    total[5]
  3. Stack around the variable 'total' is corrupted

    //before this, i calculate the various taxes

    float total[4]; //problem can be fixed by making this float total[5];, but then
    //i have an empty slot. total[5]....
  4. Replies
    4
    Views
    973

    Thanks Daved again - you've been really helpful.

    Thanks Daved again - you've been really helpful.
  5. Replies
    4
    Views
    973

    Problem with cin.getline

    Here's what is shown:



    Input name: John Mendez
    Input newvar1: 2
    Input newvar2: 5
    Input newvar3: 1

    Input name: Input newvar1: 5
  6. Replies
    20
    Views
    16,347

    Thanks Daved. This solves it for me =)

    Thanks Daved. This solves it for me =)
  7. Replies
    20
    Views
    16,347

    conversion from double to float - loss of data

    I have an assignment for programming that is actually pretty easy, if it were not for this error:
    "Warning C4244: '+=' : conversion from 'double' to 'float', possible loss of data."

    note: I MUST...
Results 1 to 7 of 7