Click here to Skip to main content
15,909,437 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: queues to find minimum time to serve all. Pin
Richard MacCutchan27-Dec-19 22:01
mveRichard MacCutchan27-Dec-19 22:01 
AnswerRe: queues to find minimum time to serve all. Pin
leon de boer28-Dec-19 14:40
leon de boer28-Dec-19 14:40 
QuestionHow to check if USB filter driver be installed by MFC? Pin
yufengchien26-Dec-19 22:19
yufengchien26-Dec-19 22:19 
AnswerRe: How to check if USB filter driver be installed by MFC? Pin
Richard MacCutchan26-Dec-19 23:44
mveRichard MacCutchan26-Dec-19 23:44 
QuestionKnight move, right direction, dynamic programming to get the maximum cost path from top left to right bottom. Pin
Jiopik25-Dec-19 0:25
Jiopik25-Dec-19 0:25 
AnswerRe: Knight move, right direction, dynamic programming to get the maximum cost path from top left to right bottom. Pin
Richard MacCutchan26-Dec-19 4:25
mveRichard MacCutchan26-Dec-19 4:25 
QuestionIRichEditOle::InsertObject shifts text one byte Pin
ForNow21-Dec-19 18:18
ForNow21-Dec-19 18:18 
GeneralRe: IRichEditOle::InsertObject shifts text one byte Pin
Richard MacCutchan21-Dec-19 22:07
mveRichard MacCutchan21-Dec-19 22:07 
GeneralRe: IRichEditOle::InsertObject shifts text one byte Pin
ForNow22-Dec-19 5:09
ForNow22-Dec-19 5:09 
GeneralRe: IRichEditOle::InsertObject shifts text one byte Pin
Richard MacCutchan22-Dec-19 22:20
mveRichard MacCutchan22-Dec-19 22:20 
GeneralRe: IRichEditOle::InsertObject shifts text one byte Pin
ForNow23-Dec-19 1:04
ForNow23-Dec-19 1:04 
GeneralRe: IRichEditOle::InsertObject shifts text one byte Pin
Richard MacCutchan23-Dec-19 2:03
mveRichard MacCutchan23-Dec-19 2:03 
QuestionCASE SOLVED AND CLOSED cout and cerr execute out of coded sequence Pin
Vaclav_21-Dec-19 10:13
Vaclav_21-Dec-19 10:13 
AnswerRe: SOLVED cout and cerr execute out of coded sequence Pin
Richard MacCutchan21-Dec-19 21:32
mveRichard MacCutchan21-Dec-19 21:32 
AnswerRe: CASE SOLVED AND CLOSED cout and cerr execute out of coded sequence Pin
Richard MacCutchan22-Dec-19 22:55
mveRichard MacCutchan22-Dec-19 22:55 
QuestionSOLVED CASE CLOSED cout in color and perror - revisited Pin
Vaclav_20-Dec-19 4:46
Vaclav_20-Dec-19 4:46 
AnswerRe: cout in color and perror - revisited Pin
leon de boer20-Dec-19 5:01
leon de boer20-Dec-19 5:01 
GeneralRe: cout in color and perror - revisited Pin
Vaclav_20-Dec-19 5:48
Vaclav_20-Dec-19 5:48 
AnswerRe: cout in color and perror - revisited Pin
Richard MacCutchan20-Dec-19 6:07
mveRichard MacCutchan20-Dec-19 6:07 
GeneralRe: cout in color and perror - revisited Pin
Vaclav_21-Dec-19 3:10
Vaclav_21-Dec-19 3:10 
GeneralRe: cout in color and perror - revisited Pin
Richard MacCutchan21-Dec-19 3:34
mveRichard MacCutchan21-Dec-19 3:34 
GeneralRe: cout in color and perror - revisited Pin
Vaclav_21-Dec-19 9:05
Vaclav_21-Dec-19 9:05 
GeneralRe: cout in color and perror - revisited Pin
Richard MacCutchan21-Dec-19 21:25
mveRichard MacCutchan21-Dec-19 21:25 
Taking your code above and running it produces the following output:
C:\Users\rjmac\Documents\Code\C++>Test
Function: DoTest
 START test area 17
TEST perror : No error               --> in normal black
TEST perror : No error               --> in bold red

TEST perror : Input/output error     --> in bold red

HELLO!                               --> in green
red text                             --> everything from here in normal red
                            Hello World
Bluetooth client
 START test area 36
DoTest

Which does not match with what you have produced. I can only conclude that there is something else going on in your system, or the actual code you run is different, that you are not telling us about.
QuestionHow to close file in C++? Pin
Vaclav_19-Dec-19 17:13
Vaclav_19-Dec-19 17:13 
QuestionRe: How to close file in C++? Pin
CPallini19-Dec-19 21:35
mveCPallini19-Dec-19 21:35 

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.