15,798,037 members
Home / Discussions / C#

# C#

 Re: Mathematical Question Pete O'Hanlon5-Nov-12 23:16 Pete O'Hanlon 5-Nov-12 23:16
 Re: Mathematical Question Abrek Okur5-Nov-12 23:27 Abrek Okur 5-Nov-12 23:27
 Re: Mathematical Question Pete O'Hanlon5-Nov-12 23:36 Pete O'Hanlon 5-Nov-12 23:36
 Re: Mathematical Question Abrek Okur5-Nov-12 23:53 Abrek Okur 5-Nov-12 23:53
 Re: Mathematical Question Pete O'Hanlon6-Nov-12 0:00 Pete O'Hanlon 6-Nov-12 0:00
 Re: Mathematical Question lukeer5-Nov-12 23:47 lukeer 5-Nov-12 23:47
 Re: Mathematical Question Abrek Okur5-Nov-12 23:51 Abrek Okur 5-Nov-12 23:51
 Re: Mathematical Question lukeer6-Nov-12 0:47 lukeer 6-Nov-12 0:47
 we have to plus? Actually we have to subtract: Steps = Max - Min In case Min is less than zero, this evolves in a doulbe-minus if we write the actual numbers down. But you don't have to worry about that if you leave the computation to a machine. Just tell it to "Max - Min" and it will take care of the sign on its own. Question was for the step count. Number of possible positions is (stepCount + 1). ``` +---+---+---+---+---+---+---+ -3 -2 -1 0 1 2 3 4 stepCount = 4 - (-3) = 7 positionCount = stepCount + 1 = 8``` Ciao, luker
 Re: Mathematical Question n.podbielski5-Nov-12 23:06 n.podbielski 5-Nov-12 23:06
 Re: Mathematical Question Pete O'Hanlon5-Nov-12 23:13 Pete O'Hanlon 5-Nov-12 23:13
 Re: Mathematical Question Abrek Okur5-Nov-12 23:15 Abrek Okur 5-Nov-12 23:15
 Re: Mathematical Question Pete O'Hanlon5-Nov-12 23:17 Pete O'Hanlon 5-Nov-12 23:17
 Re: Mathematical Question n.podbielski5-Nov-12 23:43 n.podbielski 5-Nov-12 23:43
 Re: Mathematical Question Ingo6-Nov-12 5:56 Ingo 6-Nov-12 5:56
 Assigning Variables in C# for ORACLE KingJames065-Nov-12 20:52 KingJames06 5-Nov-12 20:52
 Re: Assigning Variables in C# for ORACLE Abhinav S5-Nov-12 22:16 Abhinav S 5-Nov-12 22:16
 Re: Assigning Variables in C# for ORACLE KingJames065-Nov-12 23:13 KingJames06 5-Nov-12 23:13
 Re: Assigning Variables in C# for ORACLE Eddy Vluggen6-Nov-12 0:45 Eddy Vluggen 6-Nov-12 0:45
 Re: Assigning Variables in C# for ORACLE KingJames066-Nov-12 15:38 KingJames06 6-Nov-12 15:38
 Re: Assigning Variables in C# for ORACLE Eddy Vluggen6-Nov-12 23:45 Eddy Vluggen 6-Nov-12 23:45
 C#, Win'7, Port Mystery C-P-User-35-Nov-12 13:49 C-P-User-3 5-Nov-12 13:49
 Re: C#, Win'7, Port Mystery Pete O'Hanlon5-Nov-12 23:18 Pete O'Hanlon 5-Nov-12 23:18
 Re: C#, Win'7, Port Mystery C-P-User-36-Nov-12 7:03 C-P-User-3 6-Nov-12 7:03
 Reading XML Kevin Marois5-Nov-12 8:34 Kevin Marois 5-Nov-12 8:34
 Re: Reading XML Eddy Vluggen5-Nov-12 9:25 Eddy Vluggen 5-Nov-12 9:25
 Last Visit: 31-Dec-99 19:00     Last Update: 9-Dec-23 8:37 Refresh ᐊ Prev1...1788178917901791179217931794179517961797 Next ᐅ