Click here to Skip to main content
16,016,391 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: Are you aware about Pin
dr.mobile26-Oct-07 3:40
dr.mobile26-Oct-07 3:40 
GeneralRe: Are you aware about Pin
chandu00426-Oct-07 3:47
chandu00426-Oct-07 3:47 
GeneralRe: Are you aware about Pin
Ray Cassick26-Oct-07 19:58
Ray Cassick26-Oct-07 19:58 
GeneralRe: Are you aware about Pin
chandu00426-Oct-07 22:04
chandu00426-Oct-07 22:04 
GeneralRe: Are you aware about Pin
David Crow1-Nov-07 10:11
David Crow1-Nov-07 10:11 
GeneralRe: Are you aware about Pin
Dan Neely1-Nov-07 10:50
Dan Neely1-Nov-07 10:50 
GeneralRe: Are you aware about [modified] Pin
Luc Pattyn1-Nov-07 11:14
sitebuilderLuc Pattyn1-Nov-07 11:14 
AnswerHere is my logic. Pin
chandu00426-Oct-07 3:37
chandu00426-Oct-07 3:37 
Hai friends,
Here is my logic to find the day code.
if any body can please suggest a better logic, or if any body can validate the logic and find any bugs there, i would apprieciate it.
int offset[12]={0,31,59,90,120,151,181,212,243,273,304,334},l=0;<br />
if((((curyear%4==0) && (curyear%100!=0)) || (curyear%400==0)) && (curmonth>1))<br />
l=1;<br />
daycode=offset[curmonth]+curdate+l;

opinions please.
GeneralRe: Here is my logic. Pin
Luc Pattyn26-Oct-07 3:43
sitebuilderLuc Pattyn26-Oct-07 3:43 
GeneralRe: Here is my logic. Pin
chandu00426-Oct-07 3:52
chandu00426-Oct-07 3:52 
GeneralRe: Here is my logic. Pin
Luc Pattyn26-Oct-07 4:15
sitebuilderLuc Pattyn26-Oct-07 4:15 
GeneralRe: Here is my logic. Pin
chandu00426-Oct-07 22:02
chandu00426-Oct-07 22:02 
QuestionIs it possible to get a formula [modified] Pin
Rama Krishna Vavilala25-Oct-07 13:21
Rama Krishna Vavilala25-Oct-07 13:21 
AnswerRe: Is it possible to get a formula Pin
cp987625-Oct-07 13:32
cp987625-Oct-07 13:32 
GeneralRe: Is it possible to get a formula Pin
Rama Krishna Vavilala25-Oct-07 13:39
Rama Krishna Vavilala25-Oct-07 13:39 
GeneralRe: Is it possible to get a formula Pin
cp987625-Oct-07 14:08
cp987625-Oct-07 14:08 
AnswerRe: Is it possible to get a formula Pin
Luc Pattyn25-Oct-07 13:50
sitebuilderLuc Pattyn25-Oct-07 13:50 
GeneralRe: Is it possible to get a formula Pin
Rama Krishna Vavilala25-Oct-07 14:13
Rama Krishna Vavilala25-Oct-07 14:13 
AnswerRe: Is it possible to get a formula Pin
schoetbi26-Nov-07 10:54
schoetbi26-Nov-07 10:54 
QuestionIf encryption input is small [modified] Pin
Cryptogrpahy24-Oct-07 9:52
Cryptogrpahy24-Oct-07 9:52 
AnswerRe: If encryption input is small Pin
El Corazon24-Oct-07 10:26
El Corazon24-Oct-07 10:26 
GeneralRe: If encryption input is small Pin
Cryptogrpahy24-Oct-07 11:10
Cryptogrpahy24-Oct-07 11:10 
GeneralRe: If encryption input is small Pin
El Corazon24-Oct-07 11:26
El Corazon24-Oct-07 11:26 
GeneralRe: If encryption input is small Pin
Cryptogrpahy24-Oct-07 12:36
Cryptogrpahy24-Oct-07 12:36 
GeneralRe: If encryption input is small Pin
El Corazon24-Oct-07 12:49
El Corazon24-Oct-07 12:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.