Click here to Skip to main content
15,798,673 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionpascals triangle using user-define function use. Not working ! Pin
Tarun Jha28-Oct-17 9:50
Tarun Jha28-Oct-17 9:50 
AnswerRe: pascals triangle using user-define function use. Not working ! Pin
Victor Nijegorodov28-Oct-17 10:12
Victor Nijegorodov28-Oct-17 10:12 
AnswerRe: pascals triangle using user-define function use. Not working ! Pin
Richard MacCutchan28-Oct-17 23:03
mveRichard MacCutchan28-Oct-17 23:03 
AnswerRe: pascals triangle using user-define function use. Not working ! Pin
CPallini29-Oct-17 23:59
mveCPallini29-Oct-17 23:59 
GeneralRe: pascals triangle using user-define function use. Not working ! Pin
Tarun Jha31-Oct-17 11:19
Tarun Jha31-Oct-17 11:19 
GeneralRe: pascals triangle using user-define function use. Not working ! Pin
CPallini1-Nov-17 0:30
mveCPallini1-Nov-17 0:30 
QuestionData Structure issue Pin
patriotaki28-Oct-17 3:33
patriotaki28-Oct-17 3:33 
AnswerRe: Data Structure issue Pin
leon de boer28-Oct-17 7:23
leon de boer28-Oct-17 7:23 
I started to answer this and then realized what you were saying

Yes you can't do O(log n) on an infinite not sorted sample you can't divid the listing.
I assume they mean O(n) time which is the only way it makes sense, or the samples have to
be sorted which you didn't state. You can search a dictionary or a phone book in O(log n)
because they are organized in order.

I should actually be more careful you can't do it on a single program.
You could setup more and more task/threads/processors to run your one program.
You see that with very big processor cluster farms etc.
In vino veritas


modified 28-Oct-17 12:57pm.

GeneralRe: Data Structure issue Pin
harold aptroot28-Oct-17 7:52
harold aptroot28-Oct-17 7:52 
GeneralRe: Data Structure issue Pin
leon de boer28-Oct-17 7:58
leon de boer28-Oct-17 7:58 
GeneralRe: Data Structure issue Pin
harold aptroot28-Oct-17 8:42
harold aptroot28-Oct-17 8:42 
GeneralRe: Data Structure issue Pin
leon de boer29-Oct-17 0:10
leon de boer29-Oct-17 0:10 
GeneralRe: Data Structure issue Pin
harold aptroot29-Oct-17 1:52
harold aptroot29-Oct-17 1:52 
GeneralRe: Data Structure issue Pin
leon de boer29-Oct-17 8:45
leon de boer29-Oct-17 8:45 
GeneralRe: Data Structure issue Pin
harold aptroot29-Oct-17 10:38
harold aptroot29-Oct-17 10:38 
GeneralRe: Data Structure issue Pin
leon de boer29-Oct-17 18:12
leon de boer29-Oct-17 18:12 
GeneralRe: Data Structure issue Pin
harold aptroot29-Oct-17 23:37
harold aptroot29-Oct-17 23:37 
GeneralRe: Data Structure issue Pin
leon de boer30-Oct-17 5:25
leon de boer30-Oct-17 5:25 
AnswerRe: Data Structure issue Pin
CPallini30-Oct-17 0:04
mveCPallini30-Oct-17 0:04 
Questionalogaritm for mini calender project Pin
Member 1348043227-Oct-17 4:21
Member 1348043227-Oct-17 4:21 
AnswerRe: alogaritm for mini calender project Pin
CPallini27-Oct-17 4:27
mveCPallini27-Oct-17 4:27 
Question[ win32 ][ code::block's ] game 1 error ? Pin
bluatigro26-Oct-17 0:19
bluatigro26-Oct-17 0:19 
AnswerRe: [ win32 ][ code::block's ] game 1 error ? Pin
CPallini26-Oct-17 1:06
mveCPallini26-Oct-17 1:06 
AnswerRe: [ win32 ][ code::block's ] game 1 error ? Pin
Richard MacCutchan26-Oct-17 1:16
mveRichard MacCutchan26-Oct-17 1:16 
GeneralRe: [ win32 ][ code::block's ] game 1 error ? Pin
bluatigro31-Oct-17 0:50
bluatigro31-Oct-17 0: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.