Click here to Skip to main content
16,011,711 members
Home / Discussions / Algorithms
   

Algorithms

 
AnswerRe: Best method to calculate curves through specified points Pin
Ed.Poore24-Oct-06 3:54
Ed.Poore24-Oct-06 3:54 
AnswerRe: Best method to calculate curves through specified points Pin
El Corazon24-Oct-06 8:33
El Corazon24-Oct-06 8:33 
GeneralWhy Shockwave Is Cool Pin
Bassam Abdul-Baki23-Oct-06 13:37
professionalBassam Abdul-Baki23-Oct-06 13:37 
QuestionCopying a module [modified] Pin
Cyclone0220-Oct-06 5:46
Cyclone0220-Oct-06 5:46 
AnswerRe: Copying a module Pin
El Corazon21-Oct-06 9:52
El Corazon21-Oct-06 9:52 
AnswerRe: Copying a module Pin
Eric Dahlvang26-Oct-06 8:59
Eric Dahlvang26-Oct-06 8:59 
QuestionApriori algorithm of association rules Pin
cannielynn19-Oct-06 16:26
cannielynn19-Oct-06 16:26 
Questionmodulus. need help (visual c++) Pin
nonadoes18-Oct-06 20:50
nonadoes18-Oct-06 20:50 
i want to do a modulus of 12 digits..
for example:
123456789012%34
i'm unable to convert it because there are always balance althought it shouldnt be.
i find that integer can only use max10 digit.

my assignment is
from a set of 12 characters.
convert to ASCII decimal value representation of the characters. (example: A=65, 1=49)
then each decimal value have to substract 32 (numerical value, example: A=65-32=33, 1=49-32=17)
after converting has to do this formula:
8pow11.numericalvalue1 + 8pow10.numericalvalue2 + 8pow9.numericalvalue3 +....+ 8.numericalvalue11 + numericalvalue12

in shot: value = pow(8,index-1)*((int)tmpChar[i]-32);

after the multiplication and addition, modulus the total value over 59, means (%59);
display the value.

i hope anyone can help me solve this problem as i'm a begineer in visual c++.
thank you very much in advance.

AnswerRe: modulus. need help (visual c++) Pin
El Corazon19-Oct-06 4:11
El Corazon19-Oct-06 4:11 
AnswerRe: modulus. need help (visual c++) Pin
David Crow26-Oct-06 9:08
David Crow26-Oct-06 9:08 
AnswerRe: modulus. need help (visual c++) Pin
PICguy4-Jan-07 16:41
PICguy4-Jan-07 16:41 
QuestionHardware serial encryptor/decryptor Pin
Cyclone0217-Oct-06 19:03
Cyclone0217-Oct-06 19:03 
AnswerRe: Hardware serial encryptor/decryptor Pin
tydok18-Oct-06 3:03
tydok18-Oct-06 3:03 
GeneralRe: Hardware serial encryptor/decryptor Pin
Cyclone0218-Oct-06 3:27
Cyclone0218-Oct-06 3:27 
AnswerRe: Hardware serial encryptor/decryptor Pin
El Corazon18-Oct-06 6:00
El Corazon18-Oct-06 6:00 
GeneralRe: Hardware serial encryptor/decryptor Pin
Cyclone0219-Oct-06 4:02
Cyclone0219-Oct-06 4:02 
GeneralRe: Hardware serial encryptor/decryptor Pin
El Corazon19-Oct-06 4:07
El Corazon19-Oct-06 4:07 
Questionhow to make a faster algorithm Pin
roberto_santinni17-Oct-06 11:12
roberto_santinni17-Oct-06 11:12 
AnswerRe: how to make a faster algorithm Pin
ejuanpp17-Oct-06 12:27
ejuanpp17-Oct-06 12:27 
JokeRe: how to make a faster algorithm Pin
toxcct17-Oct-06 12:46
toxcct17-Oct-06 12:46 
AnswerRe: how to make a faster algorithm Pin
Haoman1718-Oct-06 1:17
Haoman1718-Oct-06 1:17 
GeneralRe: how to make a faster algorithm Pin
peterchen21-Oct-06 12:27
peterchen21-Oct-06 12:27 
GeneralRe: how to make a faster algorithm Pin
Haoman1722-Oct-06 7:58
Haoman1722-Oct-06 7:58 
AnswerRe: how to make a faster algorithm Pin
Rob Graham21-Oct-06 13:52
Rob Graham21-Oct-06 13:52 
AnswerRe: how to make a faster algorithm Pin
Xint026-Oct-06 16:50
Xint026-Oct-06 16:50 

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.