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

C / C++ / MFC

 
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 
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 
If you are using objects with simple types that need no destruction, you could use alloc() / realloc(). (I've long felt C++ should have a renew keyword, but it never happened.)

(EDIT: you could wrap these in a simple class to ensure proper destruction.)

Anyone who thinks he has a better idea of what's good for people than people do is a swine.
- P.J. O'Rourke

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 
AnswerRe: Debug Assertion Failed Pin
David Crow17-Apr-06 3:29
David Crow17-Apr-06 3:29 
AnswerRe: Debug Assertion Failed Pin
Stephen Hewitt17-Apr-06 4:24
Stephen Hewitt17-Apr-06 4:24 
Question[Message Deleted] Pin
ddmcr17-Apr-06 2:47
ddmcr17-Apr-06 2:47 

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.