Search:

Type: Posts; User: olgirl4life

Search: Search took 0.00 seconds.

  1. I figured it out. I was forgetting to use include...

    I figured it out. I was forgetting to use include <fstream>. Thanks for all of the help and I really appreciate the help.
  2. Last question, I am currently outputting the list...

    Last question, I am currently outputting the list to the screen but I need it to print to a file called 'contact.dat'. How can I go about that in the Hybrid class print function?

    Thanks
  3. It works vart. Thank you.

    It works vart. Thank you.
  4. I made the changes and some errors occured so I...

    I made the changes and some errors occured so I changed the things in bold. It executes without errors but my output is still displaying only the first element as before with blank lines for the...
  5. So I should pass contact to the insert function...

    So I should pass contact to the insert function because contact is an object of the me struct. So item would then be an object of me.
  6. Another problem but it's in the Print function of...

    Another problem but it's in the Print function of the Hybrid class. I don't get any errors but the output is not what I expected. I need all of the elements of the struct to display as output but the...
  7. That solved that problem. Thanks

    That solved that problem. Thanks
  8. I used typedef string as ComponentType for an...

    I used typedef string as ComponentType for an easier string variable pass to the Hybrid class.
  9. typedef me* mePtr; struct me { ComponentType...

    typedef me* mePtr;
    struct me
    {
    ComponentType lName;
    ComponentType fName;
    ComponentType mName;
    ComponentType title;
    ComponentType companyName;
    ComponentType streetAddress;...
  10. ComponentType is a string. This is how I declared...

    ComponentType is a string. This is how I declared it:



    // This is the file that declares the itemType data type

    #ifndef COMPONENTTYPE_H
    #define COMPONENTTYPE_H

    #include <iostream>
  11. These are the errors: 1. Hybrid List...

    These are the errors:

    1. Hybrid List Assignment\HybridList.cpp(130): error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'ComponentType' (or there is no...
  12. Need help with HybridList class errors......

    I am in desperate need to figuring out why my program has 11 errors on line 191 and 1 error on line 130. If someone could please assist me, I would greatly appreciate your help.



    ...
  13. Replies
    2
    Views
    1,196

    I tried the while statements as while (index

    I tried the while statements as

    while (index < length && item != data[index])

    neither statements works.
  14. Replies
    2
    Views
    1,196

    HELP with List program.

    Could someone please assist me with my program errors.

    I am writing a program using the List class that implements a To-Do list.
    The items in the list are strings.

    The user should be prompted...
  15. Replies
    2
    Views
    1,149

    //************************************************...

    //******************************************************************
    // Activity program
    // This program outputs the phone number for a given name,
    //if the name is found in a file...
  16. Replies
    3
    Views
    1,717

    Here's the SortedList.cpp file (Implementation...

    Here's the SortedList.cpp file (Implementation File)

    //******************************************************************
    // IMPLEMENTATION FILE (SortedList.cpp)
    // This file implements the...
  17. Replies
    3
    Views
    1,717

    Here's the SortedList.h file ...

    Here's the SortedList.h file

    //******************************************************************
    // SPECIFICATION FILE (SortedList.h)
    // This file gives the specification of a SortedList...
  18. Replies
    3
    Views
    1,717

    #include #include #include...

    #include <iostream>
    #include <string>
    #include <fstream>
    #include "SortedList.h"

    using namespace std;

    const MAX_LENGTH = 100;

    struct me
  19. Replies
    3
    Views
    1,717

    Need help with program.

    Project instructions:

    You’re working for a company that wants to take client contact information as it is entered by a salesperson from a stack of business cards that he or she has collected, and...
  20. Replies
    5
    Views
    1,103

    Okay. I clicked search but did not find the post....

    Okay. I clicked search but did not find the post. So I am pasting my code and the errors for beginners.
  21. Replies
    5
    Views
    1,103

    I am trying to find previous post concerning the...

    I am trying to find previous post concerning the same problem.
  22. Replies
    5
    Views
    1,103

    Need help finding post.

    You’re working for a company that wants to take client contact information as it is entered by a salesperson from a stack of business cards that he or she has collected, and output the information to...
Results 1 to 22 of 22