Click here to Skip to main content
15,920,438 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMemory leaks Pin
r i s h a b h s8-Aug-04 20:38
r i s h a b h s8-Aug-04 20:38 
GeneralRe: Memory leaks Pin
V.8-Aug-04 20:53
professionalV.8-Aug-04 20:53 
Generalstrange treeviewctrl behavior Pin
johnny,Kim8-Aug-04 19:38
johnny,Kim8-Aug-04 19:38 
GeneralRegOpenKeyEX(HKEY_LOCAL_MACHINE..... Pin
Anonymous8-Aug-04 18:48
Anonymous8-Aug-04 18:48 
GeneralRe: RegOpenKeyEX(HKEY_LOCAL_MACHINE..... Pin
Michael Dunn8-Aug-04 19:37
sitebuilderMichael Dunn8-Aug-04 19:37 
QuestionShould the next C++ standard include support for "Design by Contract"? Pin
KevinHall8-Aug-04 18:45
KevinHall8-Aug-04 18:45 
AnswerRe: Should the next C++ standard include support for "Design by Contract"? Pin
John R. Shaw8-Aug-04 19:40
John R. Shaw8-Aug-04 19:40 
AnswerRe: Should the next C++ standard include support for "Design by Contract"? Pin
Michael Dunn8-Aug-04 19:41
sitebuilderMichael Dunn8-Aug-04 19:41 
Stroustrup addresses this in D&E and, to sum it up, he feels that enforcing pre/post conditions in the language doesn't work because
a) The person writing the code usually can't predict all usages of the code before hand, so he makes the restrictions too tight
b) Later on, some perfectly valid user of the code runs into a wall with a restriction, and has to relax the restriction
c) After doing that a couple times, people get sick of having to maintain the list of restrictions and just ditch them completely.

If you think this is far-fetched, the exact same thing happened with exception specifications.

--Mike--
Personal stuff:: Ericahist | Homepage
Shareware stuff:: 1ClickPicGrabber | RightClick-Encrypt
CP stuff:: CP SearchBar v2.0.2 | C++ Forum FAQ

----
I'd buy that for a dollar!
GeneralRe: Should the next C++ standard include support for "Design by Contract"? Pin
KevinHall8-Aug-04 20:05
KevinHall8-Aug-04 20:05 
GeneralGet texts from the dialog and show them on the View Pin
bonmeepon8-Aug-04 18:30
bonmeepon8-Aug-04 18:30 
GeneralRe: Get texts from the dialog and show them on the View Pin
Vadim Tabakman8-Aug-04 18:40
Vadim Tabakman8-Aug-04 18:40 
Questionfopen errors? Pin
Tyrus1828-Aug-04 17:55
Tyrus1828-Aug-04 17:55 
AnswerRe: fopen errors? Pin
Vadim Tabakman8-Aug-04 18:31
Vadim Tabakman8-Aug-04 18:31 
AnswerRe: fopen errors? Pin
David Crow9-Aug-04 3:12
David Crow9-Aug-04 3:12 
GeneralSet Fields in ADO?(VC++) Pin
Zero_One_ADO8-Aug-04 17:37
Zero_One_ADO8-Aug-04 17:37 
GeneralRe: Set Fields in ADO?(VC++) Pin
Milton Karimbekallil8-Aug-04 18:51
Milton Karimbekallil8-Aug-04 18:51 
GeneralDBCS Hell! Pin
John R. Shaw8-Aug-04 17:14
John R. Shaw8-Aug-04 17:14 
GeneralDialog initlization Pin
Tyrus1828-Aug-04 16:49
Tyrus1828-Aug-04 16:49 
GeneralRe: Dialog initlization Pin
Ryan Binns8-Aug-04 18:11
Ryan Binns8-Aug-04 18:11 
GeneralRe: Dialog initlization Pin
Vadim Tabakman8-Aug-04 18:12
Vadim Tabakman8-Aug-04 18:12 
QuestionHow to execute a SQL pass-through from Regular Dll Pin
TuanTriTue8-Aug-04 16:47
TuanTriTue8-Aug-04 16:47 
Generalsingle server and multiple clients, using multithreading (winsock) Pin
deep_george Z8-Aug-04 16:17
sussdeep_george Z8-Aug-04 16:17 
GeneralRe: single server and multiple clients, using multithreading (winsock) Pin
Ryan Binns8-Aug-04 18:16
Ryan Binns8-Aug-04 18:16 
GeneralFind out which header files are included.. Pin
Vadim Tabakman8-Aug-04 15:49
Vadim Tabakman8-Aug-04 15:49 
GeneralRe: Find out which header files are included.. Pin
Blake Miller9-Aug-04 5:26
Blake Miller9-Aug-04 5:26 

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.