Click here to Skip to main content
15,904,415 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem with loop in C++ Pin
Kripa Khanal25-Jul-13 12:06
Kripa Khanal25-Jul-13 12:06 
GeneralRe: Problem with loop in C++ Pin
pasztorpisti25-Jul-13 22:59
pasztorpisti25-Jul-13 22:59 
AnswerRe: Problem with loop in C++ Pin
Member 1014853124-Jul-13 16:13
Member 1014853124-Jul-13 16:13 
QuestionSerial Port Functor Pin
Jonathan Davies24-Jul-13 1:51
Jonathan Davies24-Jul-13 1:51 
AnswerRe: Serial Port Functor Pin
pasztorpisti24-Jul-13 3:29
pasztorpisti24-Jul-13 3:29 
AnswerRe: Serial Port Functor Pin
Chris Losinger24-Jul-13 10:26
professionalChris Losinger24-Jul-13 10:26 
GeneralRe: Serial Port Functor Pin
Jonathan Davies24-Jul-13 10:36
Jonathan Davies24-Jul-13 10:36 
QuestionGetModuleFileName and case sensitivity Pin
vikramlinux23-Jul-13 23:19
vikramlinux23-Jul-13 23:19 
AnswerRe: GetModuleFileName and case sensitivity Pin
«_Superman_»23-Jul-13 23:27
professional«_Superman_»23-Jul-13 23:27 
GeneralRe: GetModuleFileName and case sensitivity Pin
vikramlinux23-Jul-13 23:32
vikramlinux23-Jul-13 23:32 
GeneralRe: GetModuleFileName and case sensitivity Pin
vikramlinux23-Jul-13 23:36
vikramlinux23-Jul-13 23:36 
GeneralRe: GetModuleFileName and case sensitivity Pin
Richard MacCutchan24-Jul-13 0:25
mveRichard MacCutchan24-Jul-13 0:25 
AnswerRe: GetModuleFileName and case sensitivity Pin
SajeeshCheviry24-Jul-13 0:24
SajeeshCheviry24-Jul-13 0:24 
GeneralRe: GetModuleFileName and case sensitivity Pin
vikramlinux24-Jul-13 1:23
vikramlinux24-Jul-13 1:23 
SuggestionRe: GetModuleFileName and case sensitivity Pin
Richard MacCutchan24-Jul-13 4:56
mveRichard MacCutchan24-Jul-13 4:56 
GeneralRe: GetModuleFileName and case sensitivity Pin
vikramlinux24-Jul-13 16:56
vikramlinux24-Jul-13 16:56 
GeneralRe: GetModuleFileName and case sensitivity Pin
Richard MacCutchan24-Jul-13 21:13
mveRichard MacCutchan24-Jul-13 21:13 
Questioncalculated as 0 and 1 in a matrix Pin
yahya7723-Jul-13 8:06
yahya7723-Jul-13 8:06 
QuestionRe: calculated as 0 and 1 in a matrix Pin
David Crow23-Jul-13 9:08
David Crow23-Jul-13 9:08 
AnswerRe: calculated as 0 and 1 in a matrix Pin
Alan Balkany25-Jul-13 4:23
Alan Balkany25-Jul-13 4:23 
GeneralRe: calculated as 0 and 1 in a matrix Pin
yahya7725-Jul-13 5:50
yahya7725-Jul-13 5:50 
QuestionSerial Port OK in class constructor but not outside... Pin
Mike Grove23-Jul-13 5:49
Mike Grove23-Jul-13 5:49 
AnswerRe: Serial Port OK in class constructor but not outside... Pin
Jochen Arndt23-Jul-13 6:23
professionalJochen Arndt23-Jul-13 6:23 
GeneralRe: Serial Port OK in class constructor but not outside... Pin
Mike Grove23-Jul-13 22:11
Mike Grove23-Jul-13 22:11 
AnswerRe: Serial Port OK in class constructor but not outside... Pin
etkid8423-Jul-13 8:53
etkid8423-Jul-13 8:53 
I try to keep code that "does stuff" out of the constructor and limit that method to doing attribute assignments. If I am correct, if something barfs in the constructor you have no way of handling the mess gracefully and recovering. Isn't there some kind of create or init method that you can use?
David

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.