Click here to Skip to main content
13,769,019 members

C / C++ / MFC

 
Rant[REPOST] Error when printing Pin
Richard Deeming20-Apr-18 7:01
mvpRichard Deeming20-Apr-18 7:01 
GeneralRe: [REPOST] Error when printing Pin
Victor Nijegorodov20-Apr-18 7:48
memberVictor Nijegorodov20-Apr-18 7:48 
QuestionRe: Error when printing Pin
David Crow20-Apr-18 7:12
memberDavid Crow20-Apr-18 7:12 
AnswerRe: Error when printing Pin
Erich Ruth20-Apr-18 8:49
memberErich Ruth20-Apr-18 8:49 
AnswerRe: Error when printing Pin
Randor 20-Apr-18 21:26
professional Randor 20-Apr-18 21:26 
QuestionHow to use constructor list passing an array Pin
Vaclav_20-Apr-18 6:45
memberVaclav_20-Apr-18 6:45 
AnswerRe: How to use constructor list passing an array Pin
Victor Nijegorodov20-Apr-18 7:45
memberVictor Nijegorodov20-Apr-18 7:45 
GeneralRe: How to use constructor list passing an array Pin
Vaclav_20-Apr-18 9:45
memberVaclav_20-Apr-18 9: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 12:13
memberVictor Nijegorodov20-Apr-18 12:13 
GeneralRe: How to use constructor list passing an array Pin
Vaclav_20-Apr-18 12:25
memberVaclav_20-Apr-18 12:25 
Questionlinking issue Pin
tasumisra16-Apr-18 7:51
membertasumisra16-Apr-18 7:51 
AnswerRe: linking issue Pin
Victor Nijegorodov16-Apr-18 22:39
memberVictor Nijegorodov16-Apr-18 22:39 
AnswerRe: linking issue Pin
Richard MacCutchan17-Apr-18 1:33
protectorRichard MacCutchan17-Apr-18 1:33 
QuestionHow to write more that ONE data byte into ioctl file? Pin
Vaclav_11-Apr-18 15:47
memberVaclav_11-Apr-18 15:47 
AnswerRe: How to write more that ONE data byte into ioctl file? Pin
Richard MacCutchan11-Apr-18 22:26
protectorRichard MacCutchan11-Apr-18 22:26 
AnswerRe: How to write more that ONE data byte into ioctl file? Pin
Victor Nijegorodov11-Apr-18 23:06
memberVictor Nijegorodov11-Apr-18 23:06 
AnswerRe: How to write more that ONE data byte into ioctl file? Pin
Jochen Arndt11-Apr-18 23:18
mvpJochen Arndt11-Apr-18 23:18 
GeneralRe: How to write more that ONE data byte into ioctl file? Pin
Vaclav_12-Apr-18 4:57
memberVaclav_12-Apr-18 4:57 
Questionapp is not running in debug mode Pin
Member 83893869-Apr-18 21:39
memberMember 83893869-Apr-18 21:39 
AnswerRe: app is not running in debug mode Pin
Maciej Los9-Apr-18 22:01
protectorMaciej Los9-Apr-18 22:01 
AnswerRe: app is not running in debug mode Pin
Victor Nijegorodov9-Apr-18 23:46
memberVictor Nijegorodov9-Apr-18 23:46 
GeneralRe: app is not running in debug mode Pin
Member 838938610-Apr-18 0:14
memberMember 838938610-Apr-18 0:14 
GeneralRe: app is not running in debug mode Pin
Victor Nijegorodov10-Apr-18 2:03
memberVictor Nijegorodov10-Apr-18 2:03 
QuestionInter Process Communication between C++ - C# Pin
ptr_Electron8-Apr-18 19:13
memberptr_Electron8-Apr-18 19:13 
AnswerRe: Inter Process Communication between C++ - C# Pin
Jochen Arndt8-Apr-18 22:26
mvpJochen Arndt8-Apr-18 22:26 

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.


Advertise | Privacy | Cookies | Terms of Service
Web06-2016 | 2.8.181117.1 | Last Updated 18 Nov 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid