Boost logo

Boost Users :

From: David Clark (yg-boost-users_at_[hidden])
Date: 2002-10-19 09:38:30


There are two errors in the
date_time/doc/exp-print_month.html example.

std::cout<<"Enter Year: ";
int

should be
std::cout << "Enter Year: ";
int year,month;

and

//Use the calendar to get the last day of the month
int eom_day = gregorian_calendar::end_of_month_day(

should be
int eom_day = gregorian_calendar::end_of_month_day(year,month);


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net