Click here to Skip to main content
15,896,118 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Mouse Wheel scrolling support for MFC application. Pin
Jochen Arndt10-Jul-18 0:10
professionalJochen Arndt10-Jul-18 0:10 
GeneralRe: Mouse Wheel scrolling support for MFC application. Pin
Member 1390381810-Jul-18 22:50
Member 1390381810-Jul-18 22:50 
GeneralRe: Mouse Wheel scrolling support for MFC application. Pin
Jochen Arndt10-Jul-18 23:10
professionalJochen Arndt10-Jul-18 23:10 
QuestionObject pointer as method argument Pin
_Flaviu8-Jul-18 0:43
_Flaviu8-Jul-18 0:43 
AnswerRe: Object pointer as method argument Pin
Richard MacCutchan8-Jul-18 7:23
mveRichard MacCutchan8-Jul-18 7:23 
GeneralRe: Object pointer as method argument Pin
_Flaviu8-Jul-18 19:57
_Flaviu8-Jul-18 19:57 
NewsRe: Object pointer as method argument Pin
Richard MacCutchan9-Jul-18 3:01
mveRichard MacCutchan9-Jul-18 3:01 
AnswerRe: Object pointer as method argument Pin
CPallini8-Jul-18 20:59
mveCPallini8-Jul-18 20:59 
GeneralRe: Object pointer as method argument Pin
_Flaviu9-Jul-18 5:45
_Flaviu9-Jul-18 5:45 
QuestionMFC Static Library Project Pin
Richard Andrew x647-Jul-18 16:04
professionalRichard Andrew x647-Jul-18 16:04 
AnswerRe: MFC Static Library Project Pin
Victor Nijegorodov7-Jul-18 21:48
Victor Nijegorodov7-Jul-18 21:48 
GeneralRe: MFC Static Library Project Pin
Richard Andrew x648-Jul-18 3:26
professionalRichard Andrew x648-Jul-18 3:26 
QuestionUsing fstream with USB Serial Port Pin
OscardelaGrouch6-Jul-18 20:53
OscardelaGrouch6-Jul-18 20:53 
AnswerRe: Using fstream with USB Serial Port Pin
Richard MacCutchan6-Jul-18 23:25
mveRichard MacCutchan6-Jul-18 23:25 
GeneralRe: Using fstream with USB Serial Port Pin
OscardelaGrouch7-Jul-18 6:39
OscardelaGrouch7-Jul-18 6:39 
GeneralRe: Using fstream with USB Serial Port Pin
Richard MacCutchan7-Jul-18 6:52
mveRichard MacCutchan7-Jul-18 6:52 
GeneralRe: Using fstream with USB Serial Port Pin
OscardelaGrouch7-Jul-18 6:55
OscardelaGrouch7-Jul-18 6:55 
GeneralRe: Using fstream with USB Serial Port Pin
OscardelaGrouch7-Jul-18 8:21
OscardelaGrouch7-Jul-18 8:21 
GeneralRe: Using fstream with USB Serial Port Pin
mo14927-Jul-18 12:59
mo14927-Jul-18 12:59 
GeneralRe: Using fstream with USB Serial Port Pin
OscardelaGrouch7-Jul-18 13:18
OscardelaGrouch7-Jul-18 13:18 
GeneralRe: Using fstream with USB Serial Port Pin
mo14927-Jul-18 14:51
mo14927-Jul-18 14:51 
GeneralRe: Using fstream with USB Serial Port Pin
OscardelaGrouch7-Jul-18 15:46
OscardelaGrouch7-Jul-18 15:46 
GeneralRe: Using fstream with USB Serial Port Pin
mo14927-Jul-18 16:10
mo14927-Jul-18 16:10 
GeneralRe: Using fstream with USB Serial Port Pin
OscardelaGrouch8-Jul-18 8:08
OscardelaGrouch8-Jul-18 8:08 
Thanks for the reply,

speedbump99 wrote:
I kind of doubt that getline will wait for data as it has no way of knowing how
much data to expect.


I think it will. In fact there are several versions of the getline function. In one you can specify a char array, max number of chars and a delimiter char. The default delim is '\n'.

I have tried doing it char by char and didn't have any better results. I may try that again as it seems the operator >> only inputs numbers (of various types) and not strings. I think getline must be used for that.

For right now I'm going to get my scope out and see why my reply jumps by two's instead of one with each command sent to the PIC.

I will keep this thread updated.
Thanks all,
OdlG
GeneralRe: Using fstream with USB Serial Port Pin
mo14928-Jul-18 11:55
mo14928-Jul-18 11:55 

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.