Search:

Type: Posts; User: meagangramlin

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    4,458

    Hello everyone. I was able to fix my code thank...

    Hello everyone. I was able to fix my code thank you.
  2. Replies
    1
    Views
    4,458

    Read data from file and store in array

    Hello. I am trying to read data from a file into 2 different arrays. I store the company name, symbol, and price into a class array named stocks. Then I store the frequency into and array name freq....
  3. Replies
    2
    Views
    3,309

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

    How silly of me I can't believe I missed that. Thank you
  4. 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.
  5. Replies
    2
    Views
    3,309

    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...
  6. 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...
  7. 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...
  8. 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,...
  9. 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...
  10. 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;
  11. 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 11 of 11