Search:

Type: Posts; User: meagangramlin

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    338

    How silly of me I can't believe I missed that....

    How silly of me I can't believe I missed that. Thank you
  2. I did try this but it wouldn't work because the...

    I did try this but it wouldn't work because the Stock object becomes a local variable in the while loop and I can't access it in the rest of the program.
  3. Replies
    2
    Views
    338

    How to write class array to file

    Hello. I am trying to write the content of a class array to a file but I keep getting this error:
    no operator "<<" mathces these operands.
    This is where im getting the error:


    #include...
  4. Thank you so much I was able to insert...

    Thank you so much I was able to insert correctly!! I guess I was just a bit off.

    I am reading from a file the contains info on a stock's name, symbol, and price. For example, the first 6 lines of...
  5. How to insert a class object to a binary search tree

    Hello. I am trying to insert a new item to a binary search tree but I can't get my code to work right. Here I am suppose to ask the user for the new class object's data and then store it in the...
  6. How to search a binary search tree using a class object

    Hello. I am trying to search for an element in a binary search tree using a class object but I cant get my code to work right. I have a class called Stock which has three private members: compName,...
  7. Use a linked list queue to simulate customers waiting in line

    This is my first program working with queues and I have no idea where to start. Fair warning this is a long program. My main question is with the functions in the main program near the bottom of this...
  8. Ok so I updated my findStudent code to: void...

    Ok so I updated my findStudent code to:


    void findStudent(const LinkedList<Student> &list)
    {
    int id;

    cout << "Please enter student ID number: ";
    cin >> id;
  9. How to search a linked list for data and return the data.

    I know I am not supposed to post my homework on here but I asked my teacher for help but she won't answer me. For this program I am not allowed to use vectors or std::

    I have a function called...
Results 1 to 9 of 9