Search:

Type: Posts; User: brooklyn

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    3,867

    Thanks everyone for their input. I'm down to 6...

    Thanks everyone for their input. I'm down to 6 errors (yay!!! from triple digit error to single digit error) now which I think was a huge step from 200+ errors... Next time I have an assignment, I'll...
  2. Replies
    10
    Views
    2,053

    Oh, output is suppose to be part of the fstream...

    Oh, output is suppose to be part of the fstream that prints out to an output.txt. I have it in my main and I named it output. Oh, and I didn't realize that it wasn't in curly brackets. Thanks a lot....
  3. Replies
    10
    Views
    3,867

    Can someone look over my code? part 2

    I think I did what everyone said in my other thread and once again, reduced a bunch of errors. I started with 200+ errors but I'm down to around 40. Most of it has to do with the output part in my...
  4. Replies
    10
    Views
    2,053

    Thanks for the help, that reduced my error list...

    Thanks for the help, that reduced my error list by a third actually. One of the many problems I'm having is


    void inventoryItem::inventoryItem ( string n, int q, double c )
    {
    vector <...
  5. Replies
    10
    Views
    2,053

    Can someone look over the program I wrote?

    Thanks to zuk and Daved and elad for giving me some pointers and insights. Like one of them said to get the idea before I start putting them into code, I did and they're in code. Except the codes are...
  6. Replies
    14
    Views
    5,310

    That shows almost exactly what I have to do....

    That shows almost exactly what I have to do. Except that in that program
    float to_add = 15.33;
    int item_to_change = 4;

    they're declared. I have to read them off the input file which the...
  7. Replies
    14
    Views
    5,310

    Thanks again. :) I understood what Zuk did by...

    Thanks again. :)

    I understood what Zuk did by finding item 2 and replacing zwei with two:



    I see what you did there. Very nice. ;) But what if "one" and "two" were integers say:

    item 1...
  8. Replies
    14
    Views
    5,310

    wow... that is... Thanks

    wow... that is...

    Thanks
  9. Replies
    14
    Views
    5,310

    So I can't do like Header file: public:...

    So I can't do like

    Header file:


    public:
    inputnewitemd(string n, int q, double c)
    :itemNumber(n), quantity(q), cost(c);
  10. Replies
    14
    Views
    5,310

    Thank you both elad and Daved soooooooo much. At...

    Thank you both elad and Daved soooooooo much. At first, when I came to this board, I'm like "oh I'm probably not going to get any help but it's worth a shot," but that's going to help me a lot. :D...
  11. Replies
    14
    Views
    5,310

    Oh... I'm doing that as I go along, writing it...

    Oh... I'm doing that as I go along, writing it down and then putting the code in.

    Does anyone know where I can find a sample where it uses vectors and class in one program?
  12. Replies
    14
    Views
    5,310

    adding multiple things to one vector

    Hi,

    I'm trying to include multiple things into a vector. My program is suppose to read from an input file that looks something like

    add 12345 12.50 50

    add - tells me I need to add this to a...
Results 1 to 12 of 13