Click here to Skip to main content
16,011,538 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: help with classes Pin
GdsFisher22-Feb-04 6:19
GdsFisher22-Feb-04 6:19 
GeneralStrings in C++ Pin
Iceberg7621-Feb-04 16:14
Iceberg7621-Feb-04 16:14 
GeneralRe: Strings in C++ Pin
Tim Smith21-Feb-04 17:11
Tim Smith21-Feb-04 17:11 
GeneralRe: Strings in C++ Pin
Iceberg7621-Feb-04 19:28
Iceberg7621-Feb-04 19:28 
GeneralRe: Strings in C++ Pin
markkuk21-Feb-04 23:58
markkuk21-Feb-04 23:58 
GeneralRe: Strings in C++ Pin
Tim Smith22-Feb-04 4:13
Tim Smith22-Feb-04 4:13 
GeneralRe: Strings in C++ Pin
Michael Dunn22-Feb-04 5:48
sitebuilderMichael Dunn22-Feb-04 5:48 
GeneralRe: Strings in C++ Pin
Tim Smith22-Feb-04 6:34
Tim Smith22-Feb-04 6:34 
See my other post. Using stringstream just to avoid the buffer overrun issue can cause performance problems. snprintf was created just for this problem.

A while back someone had a problem with std::hash being very slow. It was discovered that he was generating his keys with stringstream. Once he switched over to something with less overhead, it was MUCH faster.

Don't get me wrong, stringstream is great. However in this case it is like using a 767 airliner for cropdusting.

Tim Smith

I'm going to patent thought. I have yet to see any prior art.
GeneralRe: Strings in C++ Pin
Michael Dunn22-Feb-04 6:40
sitebuilderMichael Dunn22-Feb-04 6:40 
GeneralRe: Strings in C++ Pin
Iceberg7622-Feb-04 9:49
Iceberg7622-Feb-04 9:49 
GeneralRe: Strings in C++ Pin
Tim Smith22-Feb-04 11:16
Tim Smith22-Feb-04 11:16 
GeneralRe: Strings in C++ Pin
Tim Smith22-Feb-04 4:15
Tim Smith22-Feb-04 4:15 
GeneralRe: Strings in C++ Pin
David Crow23-Feb-04 3:14
David Crow23-Feb-04 3:14 
Questionhow to connect to access database in vc++6.0? Pin
Anonymous21-Feb-04 16:09
Anonymous21-Feb-04 16:09 
AnswerRe: how to connect to access database in vc++6.0? Pin
LieuLuc21-Feb-04 17:12
LieuLuc21-Feb-04 17:12 
GeneralRe: how to connect to access database in vc++6.0? Pin
Anonymous21-Feb-04 18:48
Anonymous21-Feb-04 18:48 
GeneralRe: how to connect to access database in vc++6.0? Pin
solostar***22-Feb-04 20:31
solostar***22-Feb-04 20:31 
GeneralRe: how to connect to access database in vc++6.0? Pin
David Crow1-Mar-04 2:28
David Crow1-Mar-04 2:28 
AnswerRe: how to connect to access database in vc++6.0? Pin
David Crow23-Feb-04 3:21
David Crow23-Feb-04 3:21 
GeneralCannot Run the Database on other PC Pin
siew hoon21-Feb-04 15:23
siew hoon21-Feb-04 15:23 
GeneralRe: Cannot Run the Database on other PC Pin
LieuLuc21-Feb-04 16:44
LieuLuc21-Feb-04 16:44 
GeneralRe: Cannot Run the Database on other PC Pin
siew hoon21-Feb-04 19:09
siew hoon21-Feb-04 19:09 
GeneralRe: Cannot Run the Database on other PC Pin
Steve S22-Feb-04 22:29
Steve S22-Feb-04 22:29 
GeneralRe: Cannot Run the Database on other PC Pin
Tim Smith21-Feb-04 17:15
Tim Smith21-Feb-04 17:15 
GeneralRe: Cannot Run the Database on other PC Pin
David Crow23-Feb-04 3:24
David Crow23-Feb-04 3:24 

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.