Click here to Skip to main content
15,860,943 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Want to learn C. Newbie. Where to start? Pin
Joe Woodbury18-Sep-18 7:09
professionalJoe Woodbury18-Sep-18 7:09 
GeneralRe: Want to learn C. Newbie. Where to start? Pin
Quickbeam121318-Sep-18 7:17
Quickbeam121318-Sep-18 7:17 
AnswerRe: Want to learn C. Newbie. Where to start? Pin
Dar Brett18-Sep-18 20:17
Dar Brett18-Sep-18 20:17 
QuestionCant call an assembly function in c++ code Pin
meerokh14-Sep-18 23:09
meerokh14-Sep-18 23:09 
QuestionRe: Cant call an assembly function in c++ code Pin
Richard MacCutchan15-Sep-18 21:16
mveRichard MacCutchan15-Sep-18 21:16 
AnswerRe: Cant call an assembly function in c++ code Pin
meerokh15-Sep-18 23:29
meerokh15-Sep-18 23:29 
GeneralRe: Cant call an assembly function in c++ code Pin
Richard MacCutchan16-Sep-18 1:13
mveRichard MacCutchan16-Sep-18 1:13 
AnswerRe: Cant call an assembly function in c++ code Pin
Joe Woodbury16-Sep-18 19:06
professionalJoe Woodbury16-Sep-18 19:06 
A quick glance brings up a problem here:

C++
Stack::Stack() {
	auto *local_stack= m_memPool.Allocate();
}

Perhaps I misunderstand the intention, but shouldn't this be:
C++
Stack::Stack()
	: local_stack(m_memPool.Allocate())
{}

GeneralRe: Cant call an assembly function in c++ code Pin
Richard MacCutchan16-Sep-18 22:04
mveRichard MacCutchan16-Sep-18 22:04 
GeneralRe: Cant call an assembly function in c++ code Pin
meerokh18-Sep-18 6:10
meerokh18-Sep-18 6:10 
Questionlaunch a word processor(MS Word) in an MS Visual C++ dialog based application Pin
zigie13-Sep-18 23:27
zigie13-Sep-18 23:27 
AnswerRe: launch a word processor(MS Word) in an MS Visual C++ dialog based application Pin
Victor Nijegorodov14-Sep-18 0:41
Victor Nijegorodov14-Sep-18 0:41 
GeneralRe: launch a word processor(MS Word) in an MS Visual C++ dialog based application Pin
zigie16-Sep-18 17:48
zigie16-Sep-18 17:48 
GeneralRe: launch a word processor(MS Word) in an MS Visual C++ dialog based application Pin
Victor Nijegorodov16-Sep-18 20:25
Victor Nijegorodov16-Sep-18 20:25 
AnswerRe: launch a word processor(MS Word) in an MS Visual C++ dialog based application Pin
_Flaviu14-Sep-18 0:42
_Flaviu14-Sep-18 0:42 
GeneralRe: launch a word processor(MS Word) in an MS Visual C++ dialog based application Pin
zigie16-Sep-18 18:04
zigie16-Sep-18 18:04 
QuestionRe: launch a word processor(MS Word) in an MS Visual C++ dialog based application Pin
David Crow14-Sep-18 3:01
David Crow14-Sep-18 3:01 
AnswerRe: launch a word processor(MS Word) in an MS Visual C++ dialog based application Pin
zigie16-Sep-18 18:14
zigie16-Sep-18 18:14 
QuestionThe mismatch between Print preview and the real printing Pin
Member 1388734912-Sep-18 0:47
Member 1388734912-Sep-18 0:47 
AnswerRe: The mismatch between Print preview and the real printing Pin
Richard MacCutchan12-Sep-18 0:57
mveRichard MacCutchan12-Sep-18 0:57 
GeneralRe: The mismatch between Print preview and the real printing Pin
Member 1388734912-Sep-18 2:03
Member 1388734912-Sep-18 2:03 
GeneralRe: The mismatch between Print preview and the real printing Pin
leon de boer12-Sep-18 7:05
leon de boer12-Sep-18 7:05 
GeneralRe: The mismatch between Print preview and the real printing Pin
Member 1388734912-Sep-18 21:07
Member 1388734912-Sep-18 21:07 
GeneralRe: The mismatch between Print preview and the real printing Pin
leon de boer13-Sep-18 0:47
leon de boer13-Sep-18 0:47 
GeneralRe: The mismatch between Print preview and the real printing Pin
Member 1388734913-Sep-18 3:18
Member 1388734913-Sep-18 3:18 

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.