Click here to Skip to main content
15,899,314 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Socket function failed in dll called dynamically Pin
Fredericfr17-Apr-06 8:32
Fredericfr17-Apr-06 8:32 
QuestionHow give the dimension to line. Pin
sataoa17-Apr-06 6:34
sataoa17-Apr-06 6:34 
QuestionDynamic arrays Pin
Waldermort17-Apr-06 6:12
Waldermort17-Apr-06 6:12 
AnswerRe: Dynamic arrays Pin
Joe Woodbury17-Apr-06 6:25
professionalJoe Woodbury17-Apr-06 6:25 
GeneralRe: Dynamic arrays Pin
Waldermort17-Apr-06 6:32
Waldermort17-Apr-06 6:32 
GeneralRe: Dynamic arrays Pin
David Crow17-Apr-06 7:17
David Crow17-Apr-06 7:17 
GeneralRe: Dynamic arrays Pin
Waldermort17-Apr-06 8:21
Waldermort17-Apr-06 8:21 
GeneralRe: Dynamic arrays Pin
Nemanja Trifunovic17-Apr-06 9:02
Nemanja Trifunovic17-Apr-06 9:02 
waldermort wrote:
I was hoping for a better way of resizing an array, but this will suffice.


Basically, that's how the existing containers operate, with one important distinction: when they grow, they do it exponentially - not by one. Thus they reduce the number of copying at the expense of memory space.

Of course, once we have the move semantics in C++ (around 2010, I hope Wink | ;) ) this will be a non-issue.



My programming blahblahblah blog. If you ever find anything useful here, please let me know to remove it.
GeneralRe: Dynamic arrays Pin
Waldermort17-Apr-06 9:14
Waldermort17-Apr-06 9:14 
GeneralRe: Dynamic arrays Pin
Nemanja Trifunovic17-Apr-06 10:41
Nemanja Trifunovic17-Apr-06 10:41 
AnswerRe: Dynamic arrays Pin
Joe Woodbury17-Apr-06 10:29
professionalJoe Woodbury17-Apr-06 10:29 
GeneralRe: Dynamic arrays Pin
Nemanja Trifunovic17-Apr-06 10:46
Nemanja Trifunovic17-Apr-06 10:46 
GeneralRe: Dynamic arrays Pin
Joe Woodbury17-Apr-06 21:21
professionalJoe Woodbury17-Apr-06 21:21 
QuestionImpersonation and Access Rights Pin
Putta_V17-Apr-06 5:28
Putta_V17-Apr-06 5:28 
QuestionLinker Error ?? Pin
jinbabaj17-Apr-06 5:03
jinbabaj17-Apr-06 5:03 
AnswerRe: Linker Error ?? Pin
David Crow17-Apr-06 5:11
David Crow17-Apr-06 5:11 
GeneralRe: Linker Error ?? Pin
jinbabaj17-Apr-06 16:08
jinbabaj17-Apr-06 16:08 
GeneralRe: Linker Error ?? Pin
David Crow18-Apr-06 3:11
David Crow18-Apr-06 3:11 
GeneralRe: Linker Error ?? Pin
jinbabaj17-Apr-06 16:15
jinbabaj17-Apr-06 16:15 
QuestionD3D 2D Texture(PNG File) How to set ColorKey Pin
akira3217-Apr-06 4:24
akira3217-Apr-06 4:24 
QuestionDirect Show webcam Pin
YaronNir17-Apr-06 4:14
YaronNir17-Apr-06 4:14 
Questionproblem with BroadcastSystemMessage() Pin
ashtwin17-Apr-06 4:01
ashtwin17-Apr-06 4:01 
QuestionRe: problem with BroadcastSystemMessage() Pin
David Crow17-Apr-06 4:18
David Crow17-Apr-06 4:18 
AnswerRe: problem with BroadcastSystemMessage() Pin
ashtwin18-Apr-06 20:58
ashtwin18-Apr-06 20:58 
QuestionDebug Assertion Failed Pin
keerthikaaa17-Apr-06 3:09
keerthikaaa17-Apr-06 3:09 

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.