Click here to Skip to main content
14,739,554 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
QuestionC++ compiler that supports multiple inheritance Pin
Member 1274166010-Nov-20 2:26
MemberMember 1274166010-Nov-20 2:26 
AnswerRe: C++ compiler that supports multiple inheritance Pin
Mircea Neacsu10-Nov-20 2:30
mvaMircea Neacsu10-Nov-20 2:30 
AnswerRe: C++ compiler that supports multiple inheritance Pin
CPallini10-Nov-20 3:13
mveCPallini10-Nov-20 3:13 
QuestionI can't compile and put it as a variable and matrix Pin
Member 149848945-Nov-20 6:45
MemberMember 149848945-Nov-20 6:45 
AnswerRe: I can't compile and put it as a variable and matrix Pin
Victor Nijegorodov5-Nov-20 7:58
MemberVictor Nijegorodov5-Nov-20 7:58 
AnswerRe: I can't compile and put it as a variable and matrix Pin
jeron15-Nov-20 8:17
Memberjeron15-Nov-20 8:17 
AnswerRe: I can't compile and put it as a variable and matrix Pin
Member 149848945-Nov-20 12:57
MemberMember 149848945-Nov-20 12:57 
GeneralRe: I can't compile and put it as a variable and matrix Pin
jeron15-Nov-20 13:29
Memberjeron15-Nov-20 13:29 
To return to the menu I'd imagine that you would need some type of loop construct, like a while() loop, or a do-while loop. Your formatted inputs and outputs don't look right;
Member 14984894 wrote:
scanf ("%d",&i,&j);
you're asking for a single integer (the '%d'), but you have 2 variables there i and j. What are you expecting to happen? Same goes for some of the printf() statements.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle

GeneralRe: I can't compile and put it as a variable and matrix Pin
Member 149848945-Nov-20 13:47
MemberMember 149848945-Nov-20 13:47 
GeneralRe: I can't compile and put it as a variable and matrix Pin
jeron15-Nov-20 15:21
Memberjeron15-Nov-20 15:21 
GeneralRe: I can't compile and put it as a variable and matrix Pin
jsc4226-Nov-20 6:55
professionaljsc4226-Nov-20 6:55 
GeneralRe: I can't compile and put it as a variable and matrix Pin
David Crow9-Nov-20 3:52
MemberDavid Crow9-Nov-20 3:52 
GeneralRe: I can't compile and put it as a variable and matrix Pin
jeron19-Nov-20 5:05
Memberjeron19-Nov-20 5:05 
Questioni need your help Pin
Member 149820522-Nov-20 12:09
MemberMember 149820522-Nov-20 12:09 
AnswerRe: i need your help Pin
Victor Nijegorodov2-Nov-20 21:36
MemberVictor Nijegorodov2-Nov-20 21:36 
QuestionDifference between current system time and time from user input in c Pin
Member 1497910831-Oct-20 7:00
MemberMember 1497910831-Oct-20 7:00 
AnswerRe: Difference between current system time and time from user input in c Pin
Mircea Neacsu31-Oct-20 7:59
mvaMircea Neacsu31-Oct-20 7:59 
GeneralRe: Difference between current system time and time from user input in c Pin
Richard Andrew x6431-Oct-20 9:03
professionalRichard Andrew x6431-Oct-20 9:03 
GeneralRe: Difference between current system time and time from user input in c Pin
Mircea Neacsu31-Oct-20 9:14
mvaMircea Neacsu31-Oct-20 9:14 
GeneralRe: Difference between current system time and time from user input in c Pin
Richard MacCutchan31-Oct-20 10:38
mveRichard MacCutchan31-Oct-20 10:38 
GeneralRe: Difference between current system time and time from user input in c Pin
Richard Andrew x6431-Oct-20 11:28
professionalRichard Andrew x6431-Oct-20 11:28 
GeneralRe: Difference between current system time and time from user input in c Pin
Richard MacCutchan31-Oct-20 22:22
mveRichard MacCutchan31-Oct-20 22:22 
GeneralRe: Difference between current system time and time from user input in c Pin
Richard Andrew x641-Nov-20 10:58
professionalRichard Andrew x641-Nov-20 10:58 
GeneralRe: Difference between current system time and time from user input in c Pin
Richard MacCutchan1-Nov-20 22:58
mveRichard MacCutchan1-Nov-20 22:58 
AnswerRe: Difference between current system time and time from user input in c Pin
Daniel Pfeffer31-Oct-20 12:24
professionalDaniel Pfeffer31-Oct-20 12: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.