Click here to Skip to main content
15,799,017 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWhy do I get "undefined reference to..." when trying to call a C-function inside a .cpp-file? Pin
arnold_w10-Sep-20 5:54
arnold_w10-Sep-20 5:54 
AnswerRe: Why do I get "undefined reference to..." when trying to call a C-function inside a .cpp-file? PinPopular
Richard MacCutchan10-Sep-20 6:30
mveRichard MacCutchan10-Sep-20 6:30 
QuestionIcons for Executable Files - SOLVED Pin
Richard Andrew x649-Sep-20 15:55
professionalRichard Andrew x649-Sep-20 15:55 
QuestionWhat's the closest thing to an anonymous struct/array I can achieve that compiles with GCC? Pin
arnold_w9-Sep-20 9:16
arnold_w9-Sep-20 9:16 
AnswerRe: What's the closest thing to an anonymous struct/array I can achieve that compiles with GCC? Pin
Mircea Neacsu9-Sep-20 12:20
Mircea Neacsu9-Sep-20 12:20 
GeneralRe: What's the closest thing to an anonymous struct/array I can achieve that compiles with GCC? Pin
arnold_w9-Sep-20 12:33
arnold_w9-Sep-20 12:33 
AnswerRe: What's the closest thing to an anonymous struct/array I can achieve that compiles with GCC? Pin
Mircea Neacsu9-Sep-20 13:11
Mircea Neacsu9-Sep-20 13:11 
GeneralRe: What's the closest thing to an anonymous struct/array I can achieve that compiles with GCC? Pin
arnold_w9-Sep-20 13:28
arnold_w9-Sep-20 13:28 
That was a C# example, to indicate that I was looking for the corresponding C/C++ syntax for my ARM-project. I try to keep my ARM-code as close to pure C-programming as possible (this will obviously be an exception) and never use classes in the ARM-project. Is anything in your example dependent on the classes or will it compile just fine without classes? I'm not at work so I can't try it for myself right now, but I plan to work on this first thing in the morning.
GeneralRe: What's the closest thing to an anonymous struct/array I can achieve that compiles with GCC? Pin
Randor 9-Sep-20 13:44
professional Randor 9-Sep-20 13:44 
AnswerRe: What's the closest thing to an anonymous struct/array I can achieve that compiles with GCC? Pin
Joe Woodbury9-Sep-20 13:38
professionalJoe Woodbury9-Sep-20 13:38 
GeneralRe: What's the closest thing to an anonymous struct/array I can achieve that compiles with GCC? Pin
arnold_w9-Sep-20 15:35
arnold_w9-Sep-20 15:35 
GeneralRe: What's the closest thing to an anonymous struct/array I can achieve that compiles with GCC? Pin
Joe Woodbury9-Sep-20 16:14
professionalJoe Woodbury9-Sep-20 16:14 
GeneralRe: What's the closest thing to an anonymous struct/array I can achieve that compiles with GCC? Pin
Stefan_Lang15-Sep-20 4:34
Stefan_Lang15-Sep-20 4:34 
AnswerRe: What's the closest thing to an anonymous struct/array I can achieve that compiles with GCC? Pin
arnold_w11-Sep-20 13:46
arnold_w11-Sep-20 13:46 
QuestionCWinThread for background processing Pin
Richard Andrew x645-Sep-20 11:13
professionalRichard Andrew x645-Sep-20 11:13 
AnswerRe: CWinThread for background processing Pin
Mircea Neacsu5-Sep-20 17:18
Mircea Neacsu5-Sep-20 17:18 
GeneralRe: CWinThread for background processing Pin
Richard Andrew x645-Sep-20 18:03
professionalRichard Andrew x645-Sep-20 18:03 
AnswerRe: CWinThread for background processing Pin
Randor 5-Sep-20 17:44
professional Randor 5-Sep-20 17:44 
GeneralRe: CWinThread for background processing Pin
Richard Andrew x645-Sep-20 18:01
professionalRichard Andrew x645-Sep-20 18:01 
GeneralRe: CWinThread for background processing Pin
Randor 5-Sep-20 18:29
professional Randor 5-Sep-20 18:29 
PraiseRe: CWinThread for background processing Pin
CPallini7-Sep-20 2:33
mveCPallini7-Sep-20 2:33 
QuestionGroup policy editor api Pin
Member 1487268131-Aug-20 0:13
Member 1487268131-Aug-20 0:13 
AnswerRe: Group policy editor api Pin
Richard MacCutchan31-Aug-20 2:27
mveRichard MacCutchan31-Aug-20 2:27 
QuestionRe: Group policy editor api Pin
Member 1487268131-Aug-20 18:08
Member 1487268131-Aug-20 18:08 
AnswerRe: Group policy editor api Pin
Richard MacCutchan31-Aug-20 21:57
mveRichard MacCutchan31-Aug-20 21:57 

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.