Click here to Skip to main content
16,011,120 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
AnswerRe: ATL Edit field validation? Pin
Steve S8-Oct-03 21:54
Steve S8-Oct-03 21:54 
GeneralRe: ATL Edit field validation? Pin
Anonymous9-Oct-03 1:45
Anonymous9-Oct-03 1:45 
GeneralRe: ATL Edit field validation? Pin
bryces9-Oct-03 1:52
bryces9-Oct-03 1:52 
GeneralRe: ATL Edit field validation? Pin
Steve S9-Oct-03 2:13
Steve S9-Oct-03 2:13 
GeneralEvent notification from checkbox within TreeControl (from WTL) Pin
shivonkar8-Oct-03 2:20
shivonkar8-Oct-03 2:20 
GeneralRe: Event notification from checkbox within TreeControl (from WTL) Pin
algol14-Oct-03 21:15
algol14-Oct-03 21:15 
QuestionHow can my control download the file located on the remote server automatically? Pin
stanley guan8-Oct-03 0:22
stanley guan8-Oct-03 0:22 
Generalvectors. Pin
WREY7-Oct-03 14:32
WREY7-Oct-03 14:32 
If I know I'll be dealing with millions of objects, and assigning them to vectors, is there an algorithm I can use to determine what size I should initially set the vector to, in order to avoid (as much as possible) the vector from constantly growing (which it is constantly doing as more and more objects are "pushed" into it)?

For example, if the vector is going to grow from 200K to 400K, and then from 400K to 800K, and from 800K to 1.6 Million (and so forth), I'd like to set the vector to 2 million right from the very start, just to avoid the system from having to use up time constantly allocating more space, then copying from the old over to the new (etc.), and simply cut to the chase.

It's an algorithm I looking for that would let me enter the variables and have it give me a good estimate of what size I sould make the vector at the beginning.

Thanks for any insight.

Smile | :)

William

Fortes in fide et opere!
GeneralRe: vectors. Pin
valikac8-Oct-03 5:55
valikac8-Oct-03 5:55 
GeneralRe: vectors. Pin
ZoogieZork8-Oct-03 8:00
ZoogieZork8-Oct-03 8:00 
GeneralRe: vectors. Pin
George L. Jackson3-Nov-03 1:47
George L. Jackson3-Nov-03 1:47 
GeneralRe: vectors. Pin
WREY3-Nov-03 5:39
WREY3-Nov-03 5:39 
GeneralLinker error when trying to use CStringT Pin
IGx896-Oct-03 14:06
IGx896-Oct-03 14:06 
GeneralWTL "shared-source" news update Pin
Mike.NET6-Oct-03 10:29
Mike.NET6-Oct-03 10:29 
GeneralAtl Server - CBlobCache Pin
rbeckett6-Oct-03 7:55
rbeckett6-Oct-03 7:55 
GeneralRe: Atl Server - CBlobCache Pin
rbeckett6-Oct-03 8:54
rbeckett6-Oct-03 8:54 
GeneralATL header file... Pin
byblostas5-Oct-03 12:25
byblostas5-Oct-03 12:25 
GeneralRe: ATL header file... Pin
Michael Dunn7-Oct-03 16:19
sitebuilderMichael Dunn7-Oct-03 16:19 
GeneralAbout interface ISimpleFrameSite Pin
Foxray3-Oct-03 20:51
Foxray3-Oct-03 20:51 
GeneralDeskbands with HTML content based on URL Pin
riberollesb@fsb.fr3-Oct-03 6:03
riberollesb@fsb.fr3-Oct-03 6:03 
Generaladding a second interface to coclass Pin
rob agar2-Oct-03 22:08
rob agar2-Oct-03 22:08 
GeneralWTL download Pin
Gaz2-Oct-03 9:49
Gaz2-Oct-03 9:49 
GeneralRe: WTL download Pin
Michael Dunn2-Oct-03 10:53
sitebuilderMichael Dunn2-Oct-03 10:53 
GeneralCreating instances of COM objects inside the module Pin
jparsons2-Oct-03 7:12
jparsons2-Oct-03 7:12 
GeneralRe: Creating instances of COM objects inside the module Pin
Michael Dunn2-Oct-03 7:55
sitebuilderMichael Dunn2-Oct-03 7:55 

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.