hi, ima newbie...need help, i'd appreciate if someone will pay attention to me

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Mar 2009
Posts: 1
Reputation: raineloire11 has a little shameless behaviour in the past 
Solved Threads: 0
raineloire11 raineloire11 is offline Offline
Newbie Poster

hi, ima newbie...need help, i'd appreciate if someone will pay attention to me

 
-1
  #1
Mar 2nd, 2009
i'm a newbie, an IT student from Philippines, just want to know if anyone can help me regarding my prob on how to put a date and month with range in case of a switch statement in c++?

my project is about creating horoscope reading program and i don't know what to do with my project...

can anyone help me pls?
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 5,266
Reputation: iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold 
Solved Threads: 377
Featured Poster
iamthwee's Avatar
iamthwee iamthwee is offline Offline
Posting Expert

Re: hi, ima newbie...need help, i'd appreciate if someone will pay attention to me

 
0
  #2
Mar 2nd, 2009
Assuming this is not a homework question the boost date class library would be your best option.
*Voted best profile in the world*
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 632
Reputation: daviddoria is a jewel in the rough daviddoria is a jewel in the rough daviddoria is a jewel in the rough 
Solved Threads: 46
daviddoria daviddoria is offline Offline
Practically a Master Poster

Re: hi, ima newbie...need help, i'd appreciate if someone will pay attention to me

 
0
  #3
Mar 2nd, 2009
I've found boost particularly hard to work with, especially if you don't know what you're doing!

It sounds like you just want a switch statement?
http://www-numi.fnal.gov/offline_sof...ib/switch.html

If you have a more exact goal then let us know.
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 793
Reputation: siddhant3s has much to be proud of siddhant3s has much to be proud of siddhant3s has much to be proud of siddhant3s has much to be proud of siddhant3s has much to be proud of siddhant3s has much to be proud of siddhant3s has much to be proud of siddhant3s has much to be proud of siddhant3s has much to be proud of siddhant3s has much to be proud of 
Solved Threads: 135
siddhant3s's Avatar
siddhant3s siddhant3s is offline Offline
Master Poster

Re: hi, ima newbie...need help, i'd appreciate if someone will pay attention to me

 
0
  #4
Mar 2nd, 2009
If you are a learner and still in basic stage, I prefer you write your own class about Date and overload the comparison operator, and then work with them.
Siddhant Sanyam
(Not posting much)
Migrate to Standard C++ :When to tell your C++ Code is Non-Standard.
Please Read before posting: How To Ask Questions The Smart Way
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC