Calculating Zodiac Sign using DoB

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

Join Date: Mar 2008
Posts: 268
Reputation: Traicey is an unknown quantity at this point 
Solved Threads: 19
Traicey's Avatar
Traicey Traicey is offline Offline
Posting Whiz in Training

Calculating Zodiac Sign using DoB

 
0
  #1
Jun 4th, 2009
Does anyone know a source code for calculating Zodiac Sign using a given DoB

Thanks
Some people get so rich they lose all respect for humanity. That's how rich I want to be.
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 1,602
Reputation: jephthah has much to be proud of jephthah has much to be proud of jephthah has much to be proud of jephthah has much to be proud of jephthah has much to be proud of jephthah has much to be proud of jephthah has much to be proud of jephthah has much to be proud of 
Solved Threads: 120
jephthah's Avatar
jephthah jephthah is offline Offline
Posting Virtuoso

Re: Calculating Zodiac Sign using DoB

 
0
  #2
Jun 4th, 2009
yeah, about 12 'if / else if" conditional statements.
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: Calculating Zodiac Sign using DoB

 
0
  #3
Jun 4th, 2009
250 posts, and you're still cross-posting
http://www.daniweb.com/forums/thread195793.html

Yes I have the answer, and no you're not getting it.
Reply With Quote Quick reply to this message  
Join Date: Jan 2009
Posts: 476
Reputation: csurfer is just really nice csurfer is just really nice csurfer is just really nice csurfer is just really nice csurfer is just really nice 
Solved Threads: 76
csurfer's Avatar
csurfer csurfer is offline Offline
Posting Pro in Training

Re: Calculating Zodiac Sign using DoB

 
0
  #4
Jun 4th, 2009
Wow !!! asking source code in Dani directly and that too at two places. I am SHOCKED !!!
I Surf in "C"....
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 1,602
Reputation: jephthah has much to be proud of jephthah has much to be proud of jephthah has much to be proud of jephthah has much to be proud of jephthah has much to be proud of jephthah has much to be proud of jephthah has much to be proud of jephthah has much to be proud of 
Solved Threads: 120
jephthah's Avatar
jephthah jephthah is offline Offline
Posting Virtuoso

Re: Calculating Zodiac Sign using DoB

 
0
  #5
Jun 5th, 2009
here, i'll help you get started:

  1. if (month == 4 && day > 20 || month == 5 && day < 21)
  2. strcpy(sign,"taurus");
  3. else if (month == 5 && day > 20 || month == 6 && day < 21)
  4. strcpy(sign,"gemini");
  5. // ... etcetera ...

now don't say no one never gave you nothin'

Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 947
Reputation: MosaicFuneral is just really nice MosaicFuneral is just really nice MosaicFuneral is just really nice MosaicFuneral is just really nice MosaicFuneral is just really nice 
Solved Threads: 92
MosaicFuneral's Avatar
MosaicFuneral MosaicFuneral is offline Offline
Posting Shark

Re: Calculating Zodiac Sign using DoB

 
0
  #6
Jun 5th, 2009
DOB? That and most PiHKAL's will land you a long prison sentence.

(This is why you should specify, and not use weird acronyms as questions. As well: http://catb.org/esr/faqs/smart-questions.html#before )
Last edited by MosaicFuneral; Jun 5th, 2009 at 4:14 am.
"Jedenfalls bin ich überzeugt, daß der Alte nicht würfelt."
"I became very sensitive to what will happen to all this and all of us." -Two geniuses named Albert
Reply With Quote Quick reply to this message  
Reply

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



Similar Threads
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