Search:

Type: Posts; User: aquaman

Search: Search took 0.00 seconds.

  1. Thread: calls

    by aquaman
    Replies
    0
    Views
    876

    calls

    Hello,
    I am trying to replace one of the loops of each code by the appropriate calls to the std library generic function templates. In each case, a single C++ statement is all that's needed, with no...
  2. Thread: string

    by aquaman
    Replies
    6
    Views
    1,365

    no character arrays

    I am trying to write the code to return the lower case character. Using an array would be great but I cannot. I am trying to work with the islower function. But do I need to write a line of code...
  3. Thread: date class

    by aquaman
    Replies
    3
    Views
    2,379

    date class

    #include <iostream>
    #include <string>
    using namespace std;

    class Date {
    public:
    Date(int day = 1,int month = 1, int year = 2000);
    void setDay(int day);
    void setMonth(int month);
    void...
  4. Thread: string

    by aquaman
    Replies
    6
    Views
    1,365

    questio

    oops, I need help with writting the body of the 2 new functions without using character arrays.
    Thanks again
  5. Thread: string

    by aquaman
    Replies
    6
    Views
    1,365

    string

    #ifndef WORDUTILS_H
    #define WORDUTILS_H

    #include <string>


    std::string lowercase (const std::string& s);
    // Converts all upper-case alphabetic characters in s to the
    // corresponding...
  6. Thread: date class

    by aquaman
    Replies
    6
    Views
    1,640

    Zach, thank you for your suggestions. But I...

    Zach,
    thank you for your suggestions. But I am still getting errors. Is the syntax correct for this line of code? char month[][] = {"asddas...
    Also the print suggestion you gave me, should...
  7. Thread: date class

    by aquaman
    Replies
    6
    Views
    1,640

    class date

    #include <iostream>
    using namespace std;

    class date {
    int day;
    int month;
    int year;
    enum month {JAN = 1, FEB = 2, MAR = 3, APR = 4, MAY = 5, JUN = 6, JUL = 7,
    ...
  8. Thread: date class

    by aquaman
    Replies
    6
    Views
    1,640

    date class

    Hello,
    trying to write a simple date class and convert the user input date from something like 02 01 1987 to 02JAN1987. Any help would be greatlly appreciated.
    Aquaman
Results 1 to 8 of 8