Click here to Skip to main content
15,914,488 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CryptBuffertoString returning invalid characters Pin
Mark Salsbery22-Jan-07 8:02
Mark Salsbery22-Jan-07 8:02 
GeneralRe: CryptBuffertoString returning invalid characters Pin
vgandhi22-Jan-07 8:18
vgandhi22-Jan-07 8:18 
GeneralRe: CryptBuffertoString returning invalid characters Pin
Mark Salsbery22-Jan-07 8:24
Mark Salsbery22-Jan-07 8:24 
AnswerRe: CryptBuffertoString returning invalid characters Pin
Michael Dunn22-Jan-07 7:41
sitebuilderMichael Dunn22-Jan-07 7:41 
GeneralRe: CryptBuffertoString returning invalid characters Pin
vgandhi22-Jan-07 7:48
vgandhi22-Jan-07 7:48 
GeneralRe: CryptBuffertoString returning invalid characters Pin
Michael Dunn22-Jan-07 8:16
sitebuilderMichael Dunn22-Jan-07 8:16 
GeneralRe: CryptBuffertoString returning invalid characters Pin
vgandhi22-Jan-07 8:55
vgandhi22-Jan-07 8:55 
GeneralRe: CryptBuffertoString returning invalid characters Pin
Mark Salsbery22-Jan-07 11:26
Mark Salsbery22-Jan-07 11:26 
GeneralRe: CryptBuffertoString returning invalid characters Pin
vgandhi22-Jan-07 19:00
vgandhi22-Jan-07 19:00 
GeneralRe: CryptBuffertoString returning invalid characters Pin
Mark Salsbery23-Jan-07 7:54
Mark Salsbery23-Jan-07 7:54 
QuestionDialogBar Pin
samira forooghi21-Jan-07 22:47
samira forooghi21-Jan-07 22:47 
QuestionRe: DialogBar Pin
prasad_som22-Jan-07 2:01
prasad_som22-Jan-07 2:01 
AnswerRe: DialogBar Pin
samira forooghi22-Jan-07 18:03
samira forooghi22-Jan-07 18:03 
QuestionRe: DialogBar Pin
prasad_som24-Jan-07 18:00
prasad_som24-Jan-07 18:00 
QuestionCMOS RAM Pin
pvn g21-Jan-07 22:43
pvn g21-Jan-07 22:43 
QuestionHow to read value in String table from dll Pin
Atul2321-Jan-07 22:35
Atul2321-Jan-07 22:35 
AnswerRe: How to read value in String table from dll Pin
Nibu babu thomas21-Jan-07 23:20
Nibu babu thomas21-Jan-07 23:20 
Questionactivex control not working in a dll Pin
aaaan21-Jan-07 22:09
aaaan21-Jan-07 22:09 
AnswerRe: activex control not working in a dll Pin
nutkase21-Jan-07 23:06
nutkase21-Jan-07 23:06 
QuestionRotation Pin
Waldermort21-Jan-07 21:45
Waldermort21-Jan-07 21:45 
AnswerRe: Rotation Pin
softwaremonkey21-Jan-07 21:54
softwaremonkey21-Jan-07 21:54 
GeneralRe: Rotation Pin
nutkase21-Jan-07 23:11
nutkase21-Jan-07 23:11 
GeneralRe: Rotation Pin
Waldermort21-Jan-07 23:34
Waldermort21-Jan-07 23:34 
GeneralRe: Rotation Pin
nutkase22-Jan-07 1:15
nutkase22-Jan-07 1:15 
GeneralRe: Rotation Pin
softwaremonkey21-Jan-07 23:48
softwaremonkey21-Jan-07 23:48 
Nutkase is right, this method can dramatically improve performance but is only suitable if you can live with integer angle values (every degree) since these will be used directly as indexes into the look-up tables.

If you need finer resolution than 1 degree you could consider having table entries every 0.1 degree but you would need to scale the angles to ensure that you have integral values e.g. 15. degrees would be index 15 in the table.

Naturally the tables would be 10 times bigger i.e. 1800 entries (actually you could get a way with storing values for only 90 degrees

Wink | ;)

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.