Click here to Skip to main content
15,888,142 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Using fstream with USB Serial Port Pin
OscardelaGrouch12-Jul-18 18:42
OscardelaGrouch12-Jul-18 18:42 
GeneralRe: Using fstream with USB Serial Port Pin
Jochen Arndt12-Jul-18 20:59
professionalJochen Arndt12-Jul-18 20:59 
GeneralRe: Using fstream with USB Serial Port Pin
OscardelaGrouch14-Jul-18 7:51
OscardelaGrouch14-Jul-18 7:51 
GeneralRe: Using fstream with USB Serial Port Pin
Jochen Arndt14-Jul-18 8:36
professionalJochen Arndt14-Jul-18 8:36 
GeneralRe: Using fstream with USB Serial Port Pin
OscardelaGrouch14-Jul-18 8:38
OscardelaGrouch14-Jul-18 8:38 
GeneralRe: Using fstream with USB Serial Port Pin
Jochen Arndt14-Jul-18 8:43
professionalJochen Arndt14-Jul-18 8:43 
GeneralRe: Using fstream with USB Serial Port Pin
OscardelaGrouch14-Jul-18 9:40
OscardelaGrouch14-Jul-18 9:40 
GeneralRe: Using fstream with USB Serial Port Pin
Jochen Arndt14-Jul-18 12:49
professionalJochen Arndt14-Jul-18 12:49 
That is EGAIN (you can look it up in errno.h and get the corresponding error message with strerror(3) - Linux manual page[^] ) and in most cases (as here) not an error. You are just calling read again too fast (the next character has not been received so far).

To avoid this you can set a timeout value. Then the read() will block until data are available or a timeout occured.
QuestionWhich do I use ide for learn c ++ Pin
Onur Çil6-Jul-18 2:33
Onur Çil6-Jul-18 2:33 
AnswerRe: Which do I use ide for learn c ++ Pin
Richard MacCutchan6-Jul-18 2:54
mveRichard MacCutchan6-Jul-18 2:54 
AnswerRe: Which do I use ide for learn c ++ Pin
CPallini7-Jul-18 11:06
mveCPallini7-Jul-18 11:06 
GeneralRe: Which do I use ide for learn c ++ Pin
Daniel Pfeffer8-Jul-18 1:49
professionalDaniel Pfeffer8-Jul-18 1:49 
GeneralRe: Which do I use ide for learn c ++ Pin
CPallini8-Jul-18 20:56
mveCPallini8-Jul-18 20:56 
Questionfree pointer to pointer Pin
Diprom3-Jul-18 4:10
Diprom3-Jul-18 4:10 
AnswerRe: free pointer to pointer Pin
Richard MacCutchan3-Jul-18 4:23
mveRichard MacCutchan3-Jul-18 4:23 
AnswerRe: free pointer to pointer Pin
CPallini3-Jul-18 10:25
mveCPallini3-Jul-18 10:25 
GeneralRe: free pointer to pointer Pin
Richard MacCutchan3-Jul-18 21:38
mveRichard MacCutchan3-Jul-18 21:38 
GeneralRe: free pointer to pointer Pin
CPallini3-Jul-18 21:41
mveCPallini3-Jul-18 21:41 
GeneralRe: free pointer to pointer Pin
Richard MacCutchan3-Jul-18 21:53
mveRichard MacCutchan3-Jul-18 21:53 
JokeRe: free pointer to pointer Pin
CPallini3-Jul-18 22:00
mveCPallini3-Jul-18 22:00 
GeneralRe: free pointer to pointer Pin
Richard MacCutchan3-Jul-18 22:11
mveRichard MacCutchan3-Jul-18 22:11 
GeneralRe: free pointer to pointer Pin
CPallini3-Jul-18 22:24
mveCPallini3-Jul-18 22:24 
QuestionModifying dll source code for Notepad++ compare plugin Pin
Sherzaad132913252-Jul-18 9:35
Sherzaad132913252-Jul-18 9:35 
AnswerRe: Modifying dll source code for Notepad++ compare plugin Pin
Richard MacCutchan2-Jul-18 21:03
mveRichard MacCutchan2-Jul-18 21:03 
QuestionCustome title bar Pin
john563228-Jun-18 18:44
john563228-Jun-18 18:44 

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.