Click here to Skip to main content
15,913,361 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Crash ribbon when PC enter in sleep/standby mode Pin
Dansveen1-Sep-10 10:52
Dansveen1-Sep-10 10:52 
GeneralRe: Crash ribbon when PC enter in sleep/standby mode Pin
Eugen Podsypalnikov1-Sep-10 22:34
Eugen Podsypalnikov1-Sep-10 22:34 
GeneralRe: Crash ribbon when PC enter in sleep/standby mode Pin
Dansveen2-Sep-10 3:09
Dansveen2-Sep-10 3:09 
GeneralRe: Crash ribbon when PC enter in sleep/standby mode Pin
Eugen Podsypalnikov2-Sep-10 3:22
Eugen Podsypalnikov2-Sep-10 3:22 
GeneralRe: Crash ribbon when PC enter in sleep/standby mode Pin
Dansveen2-Sep-10 9:11
Dansveen2-Sep-10 9:11 
GeneralRe: Crash ribbon when PC enter in sleep/standby mode Pin
Eugen Podsypalnikov2-Sep-10 20:55
Eugen Podsypalnikov2-Sep-10 20:55 
QuestionCan we create DSN name and set a path through Install shield Pin
raju_shiva30-Aug-10 20:48
raju_shiva30-Aug-10 20:48 
QuestionRe: Can we create DSN name and set a path through Install shield Pin
David Crow31-Aug-10 5:45
David Crow31-Aug-10 5:45 
QuestionCustomized BEGIN_TEMPLATE_MESSAGE_MAP with 2 template arguments for VS2005 Pin
funwithdolphin30-Aug-10 19:50
funwithdolphin30-Aug-10 19:50 
AnswerRe: Customized BEGIN_TEMPLATE_MESSAGE_MAP with 2 template arguments for VS2005 Pin
Code-o-mat30-Aug-10 22:29
Code-o-mat30-Aug-10 22:29 
GeneralRe: Customized BEGIN_TEMPLATE_MESSAGE_MAP with 2 template arguments for VS2005 Pin
funwithdolphin30-Aug-10 23:30
funwithdolphin30-Aug-10 23:30 
GeneralRe: Customized BEGIN_TEMPLATE_MESSAGE_MAP with 2 template arguments for VS2005 Pin
Code-o-mat31-Aug-10 0:01
Code-o-mat31-Aug-10 0:01 
QuestionCopy and Cast a List Pin
Skippums30-Aug-10 15:02
Skippums30-Aug-10 15:02 
AnswerRe: Copy and Cast a List Pin
Sameerkumar Namdeo30-Aug-10 18:40
Sameerkumar Namdeo30-Aug-10 18:40 
AnswerRe: Copy and Cast a List Pin
Paul Michalik30-Aug-10 21:10
Paul Michalik30-Aug-10 21:10 
QuestionDLL Hook - Get Host Process ID Pin
Joe_Dert30-Aug-10 14:13
Joe_Dert30-Aug-10 14:13 
AnswerRe: DLL Hook - Get Host Process ID Pin
«_Superman_»30-Aug-10 20:24
professional«_Superman_»30-Aug-10 20:24 
GeneralRe: DLL Hook - Get Host Process ID Pin
Joe_Dert31-Aug-10 0:06
Joe_Dert31-Aug-10 0:06 
QuestionSTL / Custom Linked List Pin
Fareed Rizkalla30-Aug-10 11:06
Fareed Rizkalla30-Aug-10 11:06 
AnswerRe: STL / Custom Linked List Pin
Luc Pattyn30-Aug-10 11:30
sitebuilderLuc Pattyn30-Aug-10 11:30 
GeneralRe: STL / Custom Linked List Pin
Fareed Rizkalla30-Aug-10 11:55
Fareed Rizkalla30-Aug-10 11:55 
GeneralRe: STL / Custom Linked List PinPopular
Luc Pattyn30-Aug-10 12:11
sitebuilderLuc Pattyn30-Aug-10 12:11 
GeneralRe: STL / Custom Linked List Pin
Blake Miller3-Sep-10 12:30
Blake Miller3-Sep-10 12:30 
GeneralRe: STL / Custom Linked List Pin
Luc Pattyn3-Sep-10 14:52
sitebuilderLuc Pattyn3-Sep-10 14:52 
AnswerRe: STL / Custom Linked List Pin
Maximilien30-Aug-10 13:43
Maximilien30-Aug-10 13:43 
Fareed Rizkalla wrote:
Which is better writing my own custom Linked List class or using STL?


unless proven otherwise : STL.

Fareed Rizkalla wrote:
Which is better not just from the point of speed, but also memory usage?


unless proven otherwise : STL, and if you really need to tweak something you can try to create and use your own allocator; but the time and effort needed for that is not that worthwhile.


BUT

if you have a very peculiar application that needs very customized linked list and does not care about portability, accessibility, expendability, write your own.

Also, if you ever want to do some performance analysis of STL, remember to do it in RELEASE mode, the debug mode is considerably slower than release mode.
Watched code never compiles.

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.