Click here to Skip to main content
14,272,235 members

C / C++ / MFC

 
QuestionRe: "Debug Assertion Failed at line: 252 in viewcore.CPP" Pin
David Crow11-Apr-19 10:33
memberDavid Crow11-Apr-19 10:33 
QuestionProblem when I run the application using cntrl+F5. Wintech OPC DLL Pin
D.Manivelan8-Apr-19 4:02
memberD.Manivelan8-Apr-19 4:02 
AnswerRe: Problem when I run the application using cntrl+F5. Wintech OPC DLL Pin
11917640 Member 9-Apr-19 22:57
member11917640 Member 9-Apr-19 22:57 
GeneralRe: Problem when I run the application using cntrl+F5. Wintech OPC DLL Pin
D.Manivelan10-Apr-19 19:04
memberD.Manivelan10-Apr-19 19:04 
GeneralRe: Problem when I run the application using cntrl+F5. Wintech OPC DLL Pin
Victor Nijegorodov10-Apr-19 20:55
memberVictor Nijegorodov10-Apr-19 20:55 
QuestionClass as memebrs of other classes : Create a constructor that takes all data Pin
desanti6-Apr-19 7:09
memberdesanti6-Apr-19 7:09 
AnswerRe: Class as memebrs of other classes : Create a constructor that takes all data Pin
k50546-Apr-19 9:40
memberk50546-Apr-19 9:40 
GeneralRe: Class as memebrs of other classes : Create a constructor that takes all data Pin
Stefan_Lang8-Apr-19 21:51
memberStefan_Lang8-Apr-19 21:51 
@1) he doesn't have a getter and setter for book::author Wink | ;-)
@2) agreed. Either the class author should really be a class author_reference, and name and email are just a (n unsuitable) choice of a unique reference to this specific author which is represented within a separate class and my contain more (private) data like home address and preferred brand of peanut butter. Or the class author really represents an actual author, in which case (s)he should only be referenced, not defined as a data member. After all, the author shouldn't die just because a book is burned... OMG | :OMG:
GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto)

AnswerRe: Class as memebrs of other classes : Create a constructor that takes all data Pin
Gerry Schmitz6-Apr-19 10:36
mveGerry Schmitz6-Apr-19 10:36 
AnswerRe: Class as memebrs of other classes : Create a constructor that takes all data Pin
jschell7-Apr-19 8:53
memberjschell7-Apr-19 8:53 
QuestionNew [[nodiscard]] attribute usage. Pin
Maximilien4-Apr-19 5:57
memberMaximilien4-Apr-19 5:57 
AnswerRe: New [[nodiscard]] attribute usage. Pin
John R. Shaw4-Apr-19 7:56
memberJohn R. Shaw4-Apr-19 7:56 
SuggestionRe: New [[nodiscard]] attribute usage. Pin
Maximilien4-Apr-19 16:17
memberMaximilien4-Apr-19 16:17 
GeneralRe: New [[nodiscard]] attribute usage. Pin
Randor 4-Apr-19 18:53
professional Randor 4-Apr-19 18:53 
GeneralRe: New [[nodiscard]] attribute usage. Pin
leon de boer5-Apr-19 3:24
memberleon de boer5-Apr-19 3:24 
GeneralRe: New [[nodiscard]] attribute usage. Pin
John R. Shaw5-Apr-19 11:00
memberJohn R. Shaw5-Apr-19 11:00 
GeneralRe: New [[nodiscard]] attribute usage. Pin
Rajesh R Subramanian12-Apr-19 0:34
professionalRajesh R Subramanian12-Apr-19 0:34 
Questiontriplet or what ? Pin
Vaclav_31-Mar-19 5:55
memberVaclav_31-Mar-19 5:55 
AnswerRe: triplet or what ? Pin
k505431-Mar-19 6:30
memberk505431-Mar-19 6:30 
GeneralRe: triplet or what ? Pin
Vaclav_31-Mar-19 7:27
memberVaclav_31-Mar-19 7:27 
GeneralRe: triplet or what ? Pin
k505431-Mar-19 8:38
memberk505431-Mar-19 8:38 
AnswerRe: triplet or what ? Pin
Randor 31-Mar-19 8:34
professional Randor 31-Mar-19 8:34 
GeneralRe: triplet or what ? Pin
k505431-Mar-19 8:45
memberk505431-Mar-19 8:45 
GeneralRe: triplet or what ? Pin
Randor 31-Mar-19 9:04
professional Randor 31-Mar-19 9:04 
GeneralRe: triplet or what ? Pin
Vaclav_31-Mar-19 16:20
memberVaclav_31-Mar-19 16:20 

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.