Click here to Skip to main content
16,008,942 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generala stupid question. Pin
The_Server22-Nov-01 3:58
The_Server22-Nov-01 3:58 
GeneralRe: a stupid question. Pin
moliate22-Nov-01 5:32
moliate22-Nov-01 5:32 
GeneralFailing Contructor Pin
Dave Cross22-Nov-01 2:30
professionalDave Cross22-Nov-01 2:30 
GeneralRe: Failing Contructor Pin
Michael P Butler22-Nov-01 2:54
Michael P Butler22-Nov-01 2:54 
GeneralRe: Failing Contructor Pin
Steen Krogsgaard22-Nov-01 3:11
Steen Krogsgaard22-Nov-01 3:11 
GeneralRe: Failing Contructor Pin
Stan Shannon22-Nov-01 3:18
Stan Shannon22-Nov-01 3:18 
GeneralRe: Failing Contructor Pin
Joaquín M López Muñoz22-Nov-01 3:39
Joaquín M López Muñoz22-Nov-01 3:39 
GeneralRe: Failing Contructor Pin
Stan Shannon22-Nov-01 12:27
Stan Shannon22-Nov-01 12:27 
I'm not religious about it one way or the other. I certainly understand that one methodology will never solve every possible design problem. My personal philosophy though remains that a complex ctor made dependent upon exception handling is generally not superior to a simple "init()" call. But I am not prepared to say that it is always inferior. I have always found it very convenient to be able to return a complex object to its original default state at any point in its lifetime with an initialization function of some kind. You just have to remember that the init() cannot be virtual if you intend to use it from the ctor.


"But, daddy, that was back in the hippie ages..." My twelve year old son - winning the argument.

"Stan, you are an intelligent guy who responds in meaningful ways" Paul Watson 16/10/01
GeneralRe: Failing Contructor Pin
Philippe Mori22-Nov-01 4:36
Philippe Mori22-Nov-01 4:36 
GeneralNew Item in Menu Pin
22-Nov-01 1:44
suss22-Nov-01 1:44 
GeneralRe: New Item in Menu Pin
Chambers22-Nov-01 10:27
Chambers22-Nov-01 10:27 
GeneralAssociated data in CtrlTree Pin
22-Nov-01 0:50
suss22-Nov-01 0:50 
GeneralRe: Associated data in CtrlTree Pin
Jon Hulatt22-Nov-01 1:24
Jon Hulatt22-Nov-01 1:24 
GeneralComplex SQL Queries form C++ Pin
21-Nov-01 23:47
suss21-Nov-01 23:47 
GeneralRe: Complex SQL Queries form C++ Pin
Bruce Duncan22-Nov-01 0:54
Bruce Duncan22-Nov-01 0:54 
GeneralRe: Complex SQL Queries form C++ Pin
markkuk22-Nov-01 1:08
markkuk22-Nov-01 1:08 
GeneralRe: Complex SQL Queries form C++ Pin
Rashid Thadha22-Nov-01 1:19
Rashid Thadha22-Nov-01 1:19 
GeneralPutting value ... Pin
Hadi Rezaee21-Nov-01 23:16
Hadi Rezaee21-Nov-01 23:16 
GeneralRe: Putting value ... Pin
Christian Graus22-Nov-01 1:22
protectorChristian Graus22-Nov-01 1:22 
QuestionDebug Assertion Failed???? Pin
Dan Madden21-Nov-01 23:04
Dan Madden21-Nov-01 23:04 
AnswerRe: Debug Assertion Failed???? Pin
Michael Dunn22-Nov-01 0:44
sitebuilderMichael Dunn22-Nov-01 0:44 
GeneralRe: Debug Assertion Failed???? Pin
Dan Madden22-Nov-01 0:59
Dan Madden22-Nov-01 0:59 
GeneralRe: Debug Assertion Failed???? Pin
Michael Dunn22-Nov-01 1:15
sitebuilderMichael Dunn22-Nov-01 1:15 
GeneralRe: Debug Assertion Failed???? Pin
luckylourson22-Nov-01 3:23
luckylourson22-Nov-01 3:23 
QuestionNetwork drive UNC? Pin
21-Nov-01 20:45
suss21-Nov-01 20:45 

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.