Click here to Skip to main content
11,709,393 members (37,815 online)

C / C++ / MFC

 
AnswerRe: How to create an uncompressed avi file from a matrix of data? Pin
Kiran Satish28-Jan-13 4:42
memberKiran Satish28-Jan-13 4:42 
AnswerRe: How to create an uncompressed avi file from a matrix of data? Pin
Chris Losinger28-Jan-13 5:10
memberChris Losinger28-Jan-13 5:10 
AnswerRe: How to create an uncompressed avi file from a matrix of data? Pin
Vaclav_Sal28-Jan-13 9:50
memberVaclav_Sal28-Jan-13 9:50 
AnswerRe: How to create an uncompressed avi file from a matrix of data? Pin
Max_Power_Up26-Feb-13 5:51
memberMax_Power_Up26-Feb-13 5:51 
QuestionWaveInOpen() returns error code 11 Pin
AmbiguousName26-Jan-13 3:14
memberAmbiguousName26-Jan-13 3:14 
AnswerRe: WaveInOpen() returns error code 11 Pin
Richard MacCutchan26-Jan-13 3:28
mvpRichard MacCutchan26-Jan-13 3:28 
QuestionStuck with function pointers in C and C++ Pin
Simon Langdon25-Jan-13 0:38
memberSimon Langdon25-Jan-13 0:38 
AnswerRe: Stuck with function pointers in C and C++ Pin
CPallini25-Jan-13 0:59
mvpCPallini25-Jan-13 0:59 
AnswerRe: Stuck with function pointers in C and C++ Pin
Freak3025-Jan-13 1:08
memberFreak3025-Jan-13 1:08 
GeneralRe: Stuck with function pointers in C and C++ Pin
Simon Langdon25-Jan-13 1:41
memberSimon Langdon25-Jan-13 1:41 
GeneralRe: Stuck with function pointers in C and C++ Pin
Stefan_Lang29-Jan-13 0:02
memberStefan_Lang29-Jan-13 0:02 
GeneralRe: Stuck with function pointers in C and C++ Pin
Simon Langdon29-Jan-13 0:38
memberSimon Langdon29-Jan-13 0:38 
GeneralRe: Stuck with function pointers in C and C++ Pin
Stefan_Lang29-Jan-13 4:31
memberStefan_Lang29-Jan-13 4:31 
GeneralRe: Stuck with function pointers in C and C++ Pin
CPallini25-Jan-13 2:04
mvpCPallini25-Jan-13 2:04 
Freak30 wrote:
If I remember correctly, you can't declare a pointer to a non-static member function in native C++

Actually you can, e.g.
#include<iostream>
using namespace std;
 
class A
{
  int i;
public:
  A(int i):i(i){}
  void show() { cout << i << endl;}
};
 
void  (A::*pmfn)();
 
int main()
{
  A  a(7);
 
  pmfn = &A::show;
 
  (a.*pmfn)();
}

However (and of course) this kind of pointer is not compatible with C-like function pointers.
Veni, vidi, vici.

GeneralRe: Stuck with function pointers in C and C++ Pin
Freak3027-Jan-13 23:30
memberFreak3027-Jan-13 23:30 
AnswerRe: Stuck with function pointers in C and C++ Pin
Stephen Hewitt27-Jan-13 4:40
memberStephen Hewitt27-Jan-13 4:40 
QuestionUSB Device Path Handle Problem Pin
yogeshs24-Jan-13 21:21
memberyogeshs24-Jan-13 21:21 
AnswerRe: USB Device Path Handle Problem Pin
Vaclav_Sal28-Jan-13 10:08
memberVaclav_Sal28-Jan-13 10:08 
QuestionHow to create a button on the right of the screen in mfc.? Pin
mbatra3124-Jan-13 19:53
membermbatra3124-Jan-13 19:53 
AnswerRe: How to create a button on the right of the screen in mfc.? Pin
Richard MacCutchan24-Jan-13 22:47
mvpRichard MacCutchan24-Jan-13 22:47 
GeneralRe: How to create a button on the right of the screen in mfc.? Pin
mbatra3127-Jan-13 19:39
membermbatra3127-Jan-13 19:39 
GeneralRe: How to create a button on the right of the screen in mfc.? Pin
Richard MacCutchan27-Jan-13 22:36
mvpRichard MacCutchan27-Jan-13 22:36 
GeneralRe: How to create a button on the right of the screen in mfc.? Pin
mbatra3128-Jan-13 0:07
membermbatra3128-Jan-13 0:07 
AnswerRe: How to create a button on the right of the screen in mfc.? Pin
Iain Clarke, Warrior Programmer24-Jan-13 23:13
memberIain Clarke, Warrior Programmer24-Jan-13 23:13 
GeneralRe: How to create a button on the right of the screen in mfc.? Pin
mbatra3127-Jan-13 20:11
membermbatra3127-Jan-13 20:11 
AnswerRe: How to create a button on the right of the screen in mfc.? Pin
Albert Holguin25-Jan-13 7:47
memberAlbert Holguin25-Jan-13 7:47 
QuestionCall CListCtrl::GetItemCount() in work thread proble. Pin
yu-jian24-Jan-13 17:41
groupyu-jian24-Jan-13 17:41 
AnswerRe: Call CListCtrl::GetItemCount() in work thread proble. Pin
«_Superman_»24-Jan-13 18:03
member«_Superman_»24-Jan-13 18:03 
AnswerRe: Call CListCtrl::GetItemCount() in work thread proble. Pin
Jochen Arndt24-Jan-13 21:00
memberJochen Arndt24-Jan-13 21:00 
GeneralRe: Call CListCtrl::GetItemCount() in work thread proble. Pin
yu-jian24-Jan-13 21:48
groupyu-jian24-Jan-13 21:48 
GeneralRe: Call CListCtrl::GetItemCount() in work thread proble. Pin
Jochen Arndt24-Jan-13 22:18
memberJochen Arndt24-Jan-13 22:18 
GeneralRe: Call CListCtrl::GetItemCount() in work thread proble. Pin
yu-jian24-Jan-13 23:40
groupyu-jian24-Jan-13 23:40 
QuestionOpen cv C++ Pin
Member 961996424-Jan-13 7:15
memberMember 961996424-Jan-13 7:15 
AnswerRe: Open cv C++ Pin
jibesh24-Jan-13 7:44
memberjibesh24-Jan-13 7:44 
Questionhow to compress data using zlib? Pin
IICTECH24-Jan-13 1:04
memberIICTECH24-Jan-13 1:04 
AnswerRe: how to compress data using zlib? Pin
Richard MacCutchan24-Jan-13 1:45
mvpRichard MacCutchan24-Jan-13 1:45 
AnswerRe: how to compress data using zlib? Pin
Albert Holguin25-Jan-13 7:51
memberAlbert Holguin25-Jan-13 7:51 
QuestionDebugging Dll Pin
sarfaraznawaz24-Jan-13 0:30
membersarfaraznawaz24-Jan-13 0:30 
QuestionDebugging Dll Pin
sarfaraznawaz24-Jan-13 0:30
membersarfaraznawaz24-Jan-13 0:30 
AnswerRe: Debugging Dll Pin
Sivaraman Dhamodharan24-Jan-13 1:26
memberSivaraman Dhamodharan24-Jan-13 1:26 
GeneralRe: Debugging Dll Pin
sarfaraznawaz24-Jan-13 2:58
membersarfaraznawaz24-Jan-13 2:58 
GeneralRe: Debugging Dll Pin
Richard MacCutchan24-Jan-13 3:16
mvpRichard MacCutchan24-Jan-13 3:16 
GeneralRe: Debugging Dll Pin
sarfaraznawaz30-Jan-13 1:25
membersarfaraznawaz30-Jan-13 1:25 
GeneralRe: Debugging Dll Pin
Richard MacCutchan30-Jan-13 2:55
mvpRichard MacCutchan30-Jan-13 2:55 
GeneralRe: Debugging Dll Pin
sarfaraznawaz30-Jan-13 3:10
membersarfaraznawaz30-Jan-13 3:10 
GeneralRe: Debugging Dll Pin
Richard MacCutchan30-Jan-13 3:20
mvpRichard MacCutchan30-Jan-13 3:20 
GeneralRe: Debugging Dll Pin
sarfaraznawaz30-Jan-13 23:06
membersarfaraznawaz30-Jan-13 23:06 
GeneralRe: Debugging Dll Pin
Richard MacCutchan30-Jan-13 23:10
mvpRichard MacCutchan30-Jan-13 23:10 
GeneralRe: Debugging Dll Pin
sarfaraznawaz31-Jan-13 2:01
membersarfaraznawaz31-Jan-13 2:01 
GeneralRe: Debugging Dll Pin
Richard MacCutchan31-Jan-13 2:04
mvpRichard MacCutchan31-Jan-13 2:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.150819.1 | Last Updated 28 Aug 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid