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...
Type: Posts; User: aquaman
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...
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...
#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...
oops, I need help with writting the body of the 2 new functions without using character arrays.
Thanks again
#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...
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...
#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,
...
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