Click here to Skip to main content
15,894,907 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: compilers for pure assembly code Pin
Richard MacCutchan19-Sep-20 2:24
mveRichard MacCutchan19-Sep-20 2:24 
AnswerRe: compilers for pure assembly code Pin
Joe Woodbury22-Sep-20 11:38
professionalJoe Woodbury22-Sep-20 11:38 
AnswerRe: compilers for pure assembly code Pin
Calin Negru24-Sep-20 1:00
Calin Negru24-Sep-20 1:00 
QuestionWhy do I get "undefined reference to..." when trying to call a C-function inside a .cpp-file? Pin
arnold_w10-Sep-20 4:54
arnold_w10-Sep-20 4: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 5:30
mveRichard MacCutchan10-Sep-20 5:30 
QuestionIcons for Executable Files - SOLVED Pin
Richard Andrew x649-Sep-20 14:55
professionalRichard Andrew x649-Sep-20 14:55 
QuestionWhat's the closest thing to an anonymous struct/array I can achieve that compiles with GCC? Pin
arnold_w9-Sep-20 8:16
arnold_w9-Sep-20 8:16 
AnswerRe: What's the closest thing to an anonymous struct/array I can achieve that compiles with GCC? Pin
Mircea Neacsu9-Sep-20 11:20
Mircea Neacsu9-Sep-20 11:20 
Check this:
C++
struct MyStruct
{
  const char* s;
  int i;
  void* ptr;
};


class MyClass
{
public:
  MyClass ();
  void MyMehod1 (const std::vector<int>& v) {};
  void MyMethod2 (const MyStruct& s) {};
};

int main()
{

  MyClass c;
  c.MyMehod1 ({ 0, 1, 2, 3 });
  c.MyMethod2 ({ "", 0, nullptr });
}

Mircea

GeneralRe: What's the closest thing to an anonymous struct/array I can achieve that compiles with GCC? Pin
arnold_w9-Sep-20 11:33
arnold_w9-Sep-20 11:33 
AnswerRe: What's the closest thing to an anonymous struct/array I can achieve that compiles with GCC? Pin
Mircea Neacsu9-Sep-20 12:11
Mircea Neacsu9-Sep-20 12:11 
GeneralRe: What's the closest thing to an anonymous struct/array I can achieve that compiles with GCC? Pin
arnold_w9-Sep-20 12:28
arnold_w9-Sep-20 12:28 
GeneralRe: What's the closest thing to an anonymous struct/array I can achieve that compiles with GCC? Pin
Randor 9-Sep-20 12:44
professional Randor 9-Sep-20 12:44 
AnswerRe: What's the closest thing to an anonymous struct/array I can achieve that compiles with GCC? Pin
Joe Woodbury9-Sep-20 12:38
professionalJoe Woodbury9-Sep-20 12:38 
GeneralRe: What's the closest thing to an anonymous struct/array I can achieve that compiles with GCC? Pin
arnold_w9-Sep-20 14:35
arnold_w9-Sep-20 14:35 
GeneralRe: What's the closest thing to an anonymous struct/array I can achieve that compiles with GCC? Pin
Joe Woodbury9-Sep-20 15:14
professionalJoe Woodbury9-Sep-20 15:14 
GeneralRe: What's the closest thing to an anonymous struct/array I can achieve that compiles with GCC? Pin
Stefan_Lang15-Sep-20 3:34
Stefan_Lang15-Sep-20 3:34 
AnswerRe: What's the closest thing to an anonymous struct/array I can achieve that compiles with GCC? Pin
arnold_w11-Sep-20 12:46
arnold_w11-Sep-20 12:46 
QuestionCWinThread for background processing Pin
Richard Andrew x645-Sep-20 10:13
professionalRichard Andrew x645-Sep-20 10:13 
AnswerRe: CWinThread for background processing Pin
Mircea Neacsu5-Sep-20 16:18
Mircea Neacsu5-Sep-20 16:18 
GeneralRe: CWinThread for background processing Pin
Richard Andrew x645-Sep-20 17:03
professionalRichard Andrew x645-Sep-20 17:03 
AnswerRe: CWinThread for background processing Pin
Randor 5-Sep-20 16:44
professional Randor 5-Sep-20 16:44 
GeneralRe: CWinThread for background processing Pin
Richard Andrew x645-Sep-20 17:01
professionalRichard Andrew x645-Sep-20 17:01 
GeneralRe: CWinThread for background processing Pin
Randor 5-Sep-20 17:29
professional Randor 5-Sep-20 17:29 
PraiseRe: CWinThread for background processing Pin
CPallini7-Sep-20 1:33
mveCPallini7-Sep-20 1:33 
QuestionGroup policy editor api Pin
Member 1487268130-Aug-20 23:13
Member 1487268130-Aug-20 23:13 

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.