Click here to Skip to main content
15,913,773 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: From framebuffer to SPI via ioctl in Linux Pin
Vaclav_25-Apr-18 9:11
Vaclav_25-Apr-18 9:11 
AnswerRe: From framebuffer to SPI via ioctl in Linux Pin
Vaclav_23-Apr-18 5:21
Vaclav_23-Apr-18 5:21 
Questionerror: expected unqualified-id before numeric constant Pin
Vaclav_22-Apr-18 16:49
Vaclav_22-Apr-18 16:49 
AnswerRe: error: expected unqualified-id before numeric constant Pin
Richard MacCutchan22-Apr-18 22:20
mveRichard MacCutchan22-Apr-18 22:20 
AnswerRe: error: expected unqualified-id before numeric constant Pin
Jochen Arndt22-Apr-18 22:58
professionalJochen Arndt22-Apr-18 22:58 
AnswerRe: error: expected unqualified-id before numeric constant Pin
Vaclav_23-Apr-18 3:04
Vaclav_23-Apr-18 3:04 
AnswerRe: error: expected unqualified-id before numeric constant Pin
Vaclav_23-Apr-18 4:57
Vaclav_23-Apr-18 4:57 
GeneralRe: error: expected unqualified-id before numeric constant Pin
Richard MacCutchan23-Apr-18 6:42
mveRichard MacCutchan23-Apr-18 6:42 
GeneralRe: error: expected unqualified-id before numeric constant Pin
Vaclav_23-Apr-18 8:11
Vaclav_23-Apr-18 8:11 
GeneralRe: error: expected unqualified-id before numeric constant Pin
Vaclav_23-Apr-18 13:36
Vaclav_23-Apr-18 13:36 
GeneralRe: error: expected unqualified-id before numeric constant Pin
Richard MacCutchan23-Apr-18 21:05
mveRichard MacCutchan23-Apr-18 21:05 
GeneralRe: error: expected unqualified-id before numeric constant Pin
Vaclav_25-Apr-18 3:42
Vaclav_25-Apr-18 3:42 
GeneralRe: error: expected unqualified-id before numeric constant Pin
Richard MacCutchan25-Apr-18 4:59
mveRichard MacCutchan25-Apr-18 4:59 
QuestionObtaining a COM pointer in a C # ActiveX control inside an MFC ActiveX control Pin
SoulToMind20-Apr-18 20:48
SoulToMind20-Apr-18 20:48 
QuestionError when printing Pin
Erich Ruth20-Apr-18 5:51
Erich Ruth20-Apr-18 5:51 
Rant[REPOST] Error when printing Pin
Richard Deeming20-Apr-18 6:01
mveRichard Deeming20-Apr-18 6:01 
GeneralRe: [REPOST] Error when printing Pin
Victor Nijegorodov20-Apr-18 6:48
Victor Nijegorodov20-Apr-18 6:48 
QuestionRe: Error when printing Pin
David Crow20-Apr-18 6:12
David Crow20-Apr-18 6:12 
AnswerRe: Error when printing Pin
Erich Ruth20-Apr-18 7:49
Erich Ruth20-Apr-18 7:49 
AnswerRe: Error when printing Pin
Randor 20-Apr-18 20:26
professional Randor 20-Apr-18 20:26 
QuestionHow to use constructor list passing an array Pin
Vaclav_20-Apr-18 5:45
Vaclav_20-Apr-18 5:45 
AnswerRe: How to use constructor list passing an array Pin
Victor Nijegorodov20-Apr-18 6:45
Victor Nijegorodov20-Apr-18 6:45 
GeneralRe: How to use constructor list passing an array Pin
Vaclav_20-Apr-18 8:45
Vaclav_20-Apr-18 8:45 
Thanks for the suggestion , here is what I did and it works.

Two more questions
The array actually gets filed with 12 characters and I have "sized" it for two.

This "list constructor " code syntax have no "prototype", but it works.


<pre> char *array = " ";
int channel;
long speed;
int mode;
C_SPI_NEW(char *array, int channel, long speed, int mode )
: array(array), channel(channel), speed(speed), mode(mode)
{
#ifdef DEBUG
cout << "\033[1;31mConstructor \033[0m\n";
cout <<" device " << array <<endl;
cout <<" channel " << channel << endl;
cout <<" speed " << speed << endl;
cout <<" mode " << mode << endl;
cout << " function " << __FUNCTION__ << endl;
cout << " line " << __LINE__ << endl;
#endif

}</pre>
GeneralRe: How to use constructor list passing an array Pin
Victor Nijegorodov20-Apr-18 11:13
Victor Nijegorodov20-Apr-18 11:13 
GeneralRe: How to use constructor list passing an array Pin
Vaclav_20-Apr-18 11:25
Vaclav_20-Apr-18 11:25 

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.