Search:

Type: Posts; User: RVDFan85

Search: Search took 0.00 seconds.

  1. Thread: Start on this

    by RVDFan85
    Replies
    3
    Views
    1,687

    Start on this

    Can anyone tell me how to get started on this assignment?

    The greatest common divisor of two positive intergers is the largest interger that divides the numbers exactly. We can write a recursive...
  2. Replies
    12
    Views
    5,738

    Here is what I have so far in the int main...

    Here is what I have so far in the int main function.. why doesn't time1.compare() work as well??

    int main()
    { Time Time1(3, 56);
    Time Time2;


    Time1.write();
    cout...
  3. Replies
    3
    Views
    1,409

    Help me start...

    Could someone help get me started on this assignment? Thanks...

    You’re working for a company that wants to take client contact information as it is entered by a salesperson from a stack of...
  4. Replies
    12
    Views
    5,738

    what do I add to the int main function?

    what do I add to the int main function?
  5. Replies
    12
    Views
    5,738

    I've got it working now, but when I compile it,...

    I've got it working now, but when I compile it, nothing comes up..... just a blank screen...
  6. Replies
    12
    Views
    5,738

    Here's my code for this assignment, but I can not...

    Here's my code for this assignment, but I can not get it quite right...
    #include "Time.h"
    #include <iostream>
    using namespace std;

    Time::Time(int m, int s)
    {
    set( m , s);
    }
  7. Thread: Lists...

    by RVDFan85
    Replies
    13
    Views
    1,448

    lowercase if, got it.. It's giving me some...

    lowercase if, got it.. It's giving me some weird errors when I try to compile, such as "string is not identified in this scope", for the std::list<string> Undone and it also says that there is a...
  8. Thread: Lists...

    by RVDFan85
    Replies
    13
    Views
    1,448

    Erase?? What would be the syntax or format of...

    Erase??

    What would be the syntax or format of the erase command?


    #include "list.h"
    #include <iostream>

    using namespace std;
    int main()
  9. Thread: Lists...

    by RVDFan85
    Replies
    13
    Views
    1,448

    That'll be easy. The lists are currently empty...

    That'll be easy. The lists are currently empty until the user inputs the string to be added.
  10. Thread: Lists...

    by RVDFan85
    Replies
    13
    Views
    1,448

    class List { protected: std::list...

    class List
    {
    protected:
    std::list<string> Undone;
    std::list<string> Partially Done;
    std::list<sting> Done;
    public:
    If( usercommand= Add Item)
    cout << "Enter Item to...
  11. Thread: Lists...

    by RVDFan85
    Replies
    13
    Views
    1,448

    Sorry... here's the assignment, and the code I...

    Sorry... here's the assignment, and the code I have so far... (which isn't much)

    Write a program using the List class from this chapter that implements a To-do list. The items in the list will be...
  12. Thread: Lists...

    by RVDFan85
    Replies
    13
    Views
    1,448

    Lists...

    How would I create three empty lists in a program titled Undone, Partially Done, and Done?
  13. Replies
    12
    Views
    5,738

    Help with assignment!

    CST 206 Programming Problem 4 pg. 579

    Design, implement, and test a class that represents an amount of time in minutes and seconds. The class should provide a constructor that sets the time to a...
  14. Replies
    2
    Views
    1,148

    Matching user info with data in file

    I have a file with first and last names and phone numbers. Now, I need to writte a program that gets a name from a user, and if the name is in the file, display the corresponding number, but if the...
  15. Replies
    13
    Views
    4,550

    ok... so based on that code, how do I get the...

    ok... so based on that code, how do I get the final time and subtract it from 80 to get the time remaining on the CD..
  16. Replies
    13
    Views
    4,550

    Thanks again for the help. I get frustrated and...

    Thanks again for the help. I get frustrated and try to get the assignment done, so I guess I overlook some of the more simpiler things..
  17. Replies
    13
    Views
    4,550

    I am only getting one error now. it says that...

    I am only getting one error now. it says that there is a syntax error before string constant. here is the line of code it is referring to..
    cout << setw(14) << "Number" << setw(8) << "Minutes"...
  18. Replies
    13
    Views
    4,550

    I've ggot the loop while (inData) { ...

    I've ggot the loop


    while (inData)
    {
    songmin = baseValue / 60
    songsec = baseValue % 60
    totalmin = songmin
    totalsec = songsec
    inData >> baseValue;
  19. Replies
    13
    Views
    4,550

    How do I get the total time?? I can not do...

    How do I get the total time?? I can not do time1+time2+time3 etc. because I do not iknow how many values will be in the file..
  20. Replies
    13
    Views
    4,550

    Need help with homework assignment plz..

    Here's the full problem: Here's the assignment: You are burning music CD's for a party. You've arranged a list of songs in the order you want to play them. However, you would like to maximize...
Results 1 to 20 of 23