Click here to Skip to main content
16,010,114 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: STL map in UNIX Pin
Stuart Dootson4-Sep-09 23:54
professionalStuart Dootson4-Sep-09 23:54 
QuestionCListBox Pin
thanhvinh09064-Sep-09 17:46
thanhvinh09064-Sep-09 17:46 
AnswerRe: CListBox Pin
Code-o-mat5-Sep-09 8:42
Code-o-mat5-Sep-09 8:42 
QuestionC++ Queue Pin
jonig194-Sep-09 15:00
jonig194-Sep-09 15:00 
AnswerRe: C++ Queue Pin
Joe Woodbury4-Sep-09 19:05
professionalJoe Woodbury4-Sep-09 19:05 
AnswerRe: C++ Queue Pin
N a v a n e e t h4-Sep-09 20:35
N a v a n e e t h4-Sep-09 20:35 
AnswerRe: C++ Queue Pin
«_Superman_»4-Sep-09 22:47
professional«_Superman_»4-Sep-09 22:47 
AnswerRe: C++ Queue Pin
Stuart Dootson5-Sep-09 0:12
professionalStuart Dootson5-Sep-09 0:12 
If you just want to use a queue, then the STL already has one[^].

If you're doing this for a learning experience, then the first thing to learn is that C/C++ arrays a) are not easily resizable and b) do not track their own length. If you want to do this with arrays, then you'll need to reallocate arrays when they get too small (remembering to copy all the elements to the newly resized array) and also keep track of the number of allocated and used array elements. Or you could use an STL container like a vector in place of the array.

Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

QuestionHow to get number of the "CMDIChildWnd" initialized? Pin
transoft4-Sep-09 12:31
transoft4-Sep-09 12:31 
AnswerRe: How to get number of the "CMDIChildWnd" initialized? Pin
Randor 4-Sep-09 13:55
professional Randor 4-Sep-09 13:55 
QuestionGetting source code information from exception Pin
nachiket074-Sep-09 9:26
nachiket074-Sep-09 9:26 
AnswerRe: Getting source code information from exception Pin
Randor 4-Sep-09 9:53
professional Randor 4-Sep-09 9:53 
GeneralRe: Getting source code information from exception Pin
nachiket078-Sep-09 6:10
nachiket078-Sep-09 6:10 
QuestionC++ Get File Size Pin
Jim Fell4-Sep-09 7:49
Jim Fell4-Sep-09 7:49 
AnswerRe: C++ Get File Size Pin
Rajesh R Subramanian4-Sep-09 8:05
professionalRajesh R Subramanian4-Sep-09 8:05 
GeneralRe: C++ Get File Size Pin
Jim Fell4-Sep-09 8:19
Jim Fell4-Sep-09 8:19 
GeneralRe: C++ Get File Size Pin
Code-o-mat4-Sep-09 8:25
Code-o-mat4-Sep-09 8:25 
GeneralRe: C++ Get File Size Pin
Joe Woodbury4-Sep-09 8:31
professionalJoe Woodbury4-Sep-09 8:31 
GeneralRe: C++ Get File Size Pin
Jim Fell4-Sep-09 10:24
Jim Fell4-Sep-09 10:24 
QuestionZooming image without loosing quality Pin
tealomp4-Sep-09 6:31
tealomp4-Sep-09 6:31 
AnswerRe: Zooming image without loosing quality Pin
includeh104-Sep-09 12:08
includeh104-Sep-09 12:08 
GeneralRe: Zooming image without loosing quality Pin
harold aptroot4-Sep-09 12:16
harold aptroot4-Sep-09 12:16 
GeneralRe: Zooming image without loosing quality Pin
Chris Losinger5-Sep-09 6:03
professionalChris Losinger5-Sep-09 6:03 
AnswerRe: Zooming image without loosing quality Pin
Chris Losinger5-Sep-09 6:00
professionalChris Losinger5-Sep-09 6:00 
QuestionA problem, please help. Pin
kingkongcn4-Sep-09 4:17
kingkongcn4-Sep-09 4:17 

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.