Author Topic: Solutions to Problem Set February 22  (Read 4476 times)

louiecerv

  • Moderator
  • User
  • *****
  • Posts: 85
Solutions to Problem Set February 22
« on: February 26, 2006, 04:34:58 PM »
Visit the class yahoogroups site, download the files then lets discuss here at the forum.
Analyze. Design. Develop. Debug. Deploy. Maintain.

Yap Michael

  • User
  • *
  • Posts: 8
about the horoscope.cpp
« Reply #1 on: February 27, 2006, 01:28:42 AM »
I used to include the .eof  in getting the line inside a file, but i only used the while statement which gets all the words until nothing is left.

However, in the file you uploaded, i got some new ideas on getting just only 1 or two lines. Sir, does it belong to cstring library?

In the case of boundary between two dates, what library did you include?

louiecerv

  • Moderator
  • User
  • *****
  • Posts: 85
getline()
« Reply #2 on: March 01, 2006, 06:53:20 AM »
getline() is part of the iostream library.
Analyze. Design. Develop. Debug. Deploy. Maintain.