Click here to Skip to main content
15,900,589 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: [win32] VR double buffering ? Pin
bluatigro1-Nov-17 0:37
bluatigro1-Nov-17 0:37 
GeneralRe: [win32] VR double buffering ? Pin
Richard MacCutchan1-Nov-17 1:03
mveRichard MacCutchan1-Nov-17 1:03 
SuggestionRe: [win32] VR double buffering ? Pin
David Crow1-Nov-17 3:36
David Crow1-Nov-17 3:36 
GeneralRe: [win32] VR double buffering ? Pin
bluatigro2-Nov-17 0:20
bluatigro2-Nov-17 0:20 
Questionpassing parameters to Cdialog Pin
ForNow30-Oct-17 12:11
ForNow30-Oct-17 12:11 
GeneralRe: passing parameters to Cdialog Pin
Sascha Lefèvre30-Oct-17 12:28
professionalSascha Lefèvre30-Oct-17 12:28 
GeneralRe: passing parameters to Cdialog Pin
ForNow30-Oct-17 13:13
ForNow30-Oct-17 13:13 
GeneralRe: passing parameters to Cdialog Constructer defination Pin
ForNow30-Oct-17 13:19
ForNow30-Oct-17 13:19 
QuestionRe: passing parameters to Cdialog Constructer defination Pin
David Crow31-Oct-17 2:48
David Crow31-Oct-17 2:48 
AnswerRe: passing parameters to Cdialog Constructer defination Pin
ForNow31-Oct-17 2:58
ForNow31-Oct-17 2:58 
GeneralRe: passing parameters to Cdialog Pin
Sascha Lefèvre30-Oct-17 14:03
professionalSascha Lefèvre30-Oct-17 14:03 
GeneralRe: passing parameters to Cdialog Pin
Rick York30-Oct-17 15:26
mveRick York30-Oct-17 15:26 
GeneralRe: passing parameters to Cdialog Pin
Richard MacCutchan30-Oct-17 22:45
mveRichard MacCutchan30-Oct-17 22:45 
GeneralRe: passing parameters to Cdialog Pin
Jochen Arndt30-Oct-17 23:06
professionalJochen Arndt30-Oct-17 23:06 
Questionpascals triangle using user-define function use. Not working ! Pin
Tarun Jha28-Oct-17 8:50
Tarun Jha28-Oct-17 8:50 
AnswerRe: pascals triangle using user-define function use. Not working ! Pin
Victor Nijegorodov28-Oct-17 9:12
Victor Nijegorodov28-Oct-17 9:12 
AnswerRe: pascals triangle using user-define function use. Not working ! Pin
Richard MacCutchan28-Oct-17 22:03
mveRichard MacCutchan28-Oct-17 22:03 
AnswerRe: pascals triangle using user-define function use. Not working ! Pin
CPallini29-Oct-17 22:59
mveCPallini29-Oct-17 22:59 
GeneralRe: pascals triangle using user-define function use. Not working ! Pin
Tarun Jha31-Oct-17 10:19
Tarun Jha31-Oct-17 10:19 
GeneralRe: pascals triangle using user-define function use. Not working ! Pin
CPallini31-Oct-17 23:30
mveCPallini31-Oct-17 23:30 
QuestionData Structure issue Pin
patriotaki28-Oct-17 2:33
patriotaki28-Oct-17 2:33 
AnswerRe: Data Structure issue Pin
leon de boer28-Oct-17 6:23
leon de boer28-Oct-17 6:23 
GeneralRe: Data Structure issue Pin
harold aptroot28-Oct-17 6:52
harold aptroot28-Oct-17 6:52 
GeneralRe: Data Structure issue Pin
leon de boer28-Oct-17 6:58
leon de boer28-Oct-17 6:58 
Pi goes to inifinite decimal places .. creating the infinite output is easy and such things exist. Any irrational number is an example, the element involved being a digit.
Even in your case a computer will get thru thousands or millions of compares for a single digit per second.
If I asked you to count the digit 7 occurance in the PI output you can easily do it, and you could carry the count until you ran out of memory, disk space etc to hold the count. You only need the count you don't have to store the thing.

Doing it in O (log n) that is the question?
In vino veritas


modified 28-Oct-17 13:12pm.

GeneralRe: Data Structure issue Pin
harold aptroot28-Oct-17 7:42
harold aptroot28-Oct-17 7:42 

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.