Click here to Skip to main content
16,005,099 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionI want a file DLL write by VC++ used in VisualBasic ? Pin
Thangnc21-Aug-05 1:08
Thangnc21-Aug-05 1:08 
AnswerRe: I want a file DLL write by VC++ used in VisualBasic ? Pin
/*Trucker*\21-Aug-05 10:56
/*Trucker*\21-Aug-05 10:56 
GeneralSwap File Pin
Member 221145621-Aug-05 1:00
Member 221145621-Aug-05 1:00 
GeneralLinklist vs Array Pin
Anonymous21-Aug-05 0:07
Anonymous21-Aug-05 0:07 
GeneralRe: Linklist vs Array Pin
Anonymous21-Aug-05 2:36
Anonymous21-Aug-05 2:36 
GeneralRe: Linklist vs Array Pin
Chris Losinger21-Aug-05 6:34
professionalChris Losinger21-Aug-05 6:34 
GeneralRe: Linklist vs Array Pin
ThatsAlok21-Aug-05 19:07
ThatsAlok21-Aug-05 19:07 
GeneralRe: Linklist vs Array Pin
Blake Miller22-Aug-05 6:12
Blake Miller22-Aug-05 6:12 
It is interesting that he suggested 'traverse' without specifying a constraint.
Because if he merely requires ITERATION in inserted order, how can anything be faster than 'traversing' an array? No additional pointer access or lookup required, as long as records are all of same size. Just set a pointer to beginning of array and increement it by sizeof record to get next element. Not even a list is faster than that, right? Unless pointer assignment is faster than addition ...

You have
pCurrent = pCurrent + sizeof(record)
or else
pCurrent = pCurrent->Next

A map involves much more effort, but can give you potentaily sorted items, grouped items, or a lookup by keyed items.

GeneralRe: Linklist vs Array Pin
ThatsAlok22-Aug-05 17:48
ThatsAlok22-Aug-05 17:48 
QuestionValidate a file name Pin
peterchen20-Aug-05 23:43
peterchen20-Aug-05 23:43 
GeneralRe: Validate a file name Pin
Johnny ²21-Aug-05 0:05
Johnny ²21-Aug-05 0:05 
GeneralRe: Validate a file name Pin
peterchen21-Aug-05 0:34
peterchen21-Aug-05 0:34 
GeneralInserting String in middle of File Pin
Dont Know Me :P20-Aug-05 21:43
sussDont Know Me :P20-Aug-05 21:43 
GeneralRe: Inserting String in middle of File Pin
Johnny ²20-Aug-05 22:42
Johnny ²20-Aug-05 22:42 
GeneralRe: Inserting String in middle of File Pin
Tim Zorn21-Aug-05 6:02
Tim Zorn21-Aug-05 6:02 
Generalbutton in dialog based application Pin
meiyueh20-Aug-05 18:21
meiyueh20-Aug-05 18:21 
Generaldialog based application Pin
meiyueh20-Aug-05 18:15
meiyueh20-Aug-05 18:15 
GeneralAbout the drive the program has been loaded from Pin
Vancouver20-Aug-05 15:50
Vancouver20-Aug-05 15:50 
GeneralRe: About the drive the program has been loaded from Pin
Jack Puppy20-Aug-05 16:21
Jack Puppy20-Aug-05 16:21 
GeneralRe: About the drive the program has been loaded from Pin
Vancouver22-Aug-05 13:04
Vancouver22-Aug-05 13:04 
GeneralStrange CEdit Box Behavior Pin
gremlinimp20-Aug-05 15:04
gremlinimp20-Aug-05 15:04 
GeneralRe: Strange CEdit Box Behavior Pin
David Crow20-Aug-05 15:54
David Crow20-Aug-05 15:54 
GeneralRe: Strange CEdit Box Behavior Pin
gremlinimp20-Aug-05 17:02
gremlinimp20-Aug-05 17:02 
GeneralRe: Strange CEdit Box Behavior Pin
S Douglas22-Aug-05 1:43
professionalS Douglas22-Aug-05 1:43 
GeneralRe: Strange CEdit Box Behavior Pin
gremlinimp23-Aug-05 11:46
gremlinimp23-Aug-05 11:46 

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.