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

C / C++ / MFC

 
GeneralRe: how to "include" this... Pin
RedDk27-Feb-24 7:51
RedDk27-Feb-24 7:51 
AnswerRe: how to "include" this... Pin
Maximilien27-Feb-24 1:32
Maximilien27-Feb-24 1:32 
GeneralRe: how to "include" this... Pin
Salvatore Terress27-Feb-24 7:19
Salvatore Terress27-Feb-24 7:19 
QuestionPaige-Tarjan algorithm in C Pin
Joeyabuki26-Feb-24 4:06
Joeyabuki26-Feb-24 4:06 
AnswerRe: Paige-Tarjan algorithm in C Pin
Maximilien26-Feb-24 5:51
Maximilien26-Feb-24 5:51 
GeneralRe: Paige-Tarjan algorithm in C Pin
Joeyabuki26-Feb-24 6:20
Joeyabuki26-Feb-24 6:20 
QuestionExtracting the Points from a CRgn Object - C / C++ / MFC ... Pin
Member 1601389325-Feb-24 18:47
Member 1601389325-Feb-24 18:47 
AnswerRe: Extracting the Points from a CRgn Object - C / C++ / MFC ... Pin
Victor Nijegorodov25-Feb-24 20:09
Victor Nijegorodov25-Feb-24 20:09 
QuestionHow to create a hover popup window beside the mouse cursor Pin
Member 1185324-Feb-24 15:51
Member 1185324-Feb-24 15:51 
AnswerRe: How to create a hover popup window beside the mouse cursor Pin
Richard MacCutchan24-Feb-24 20:50
mveRichard MacCutchan24-Feb-24 20:50 
QuestionPLEASE help (me) with syntax for placings redirection to file. Pin
Salvatore Terress19-Feb-24 6:08
Salvatore Terress19-Feb-24 6:08 
AnswerRe: PLEASE help (me) with syntax for placings redirection to file. Pin
Mircea Neacsu19-Feb-24 6:50
Mircea Neacsu19-Feb-24 6:50 
GeneralRe: PLEASE help (me) with syntax for placings redirection to file. Pin
Salvatore Terress19-Feb-24 7:32
Salvatore Terress19-Feb-24 7:32 
GeneralRe: PLEASE help (me) with syntax for placings redirection to file. Pin
Mircea Neacsu19-Feb-24 7:47
Mircea Neacsu19-Feb-24 7:47 
GeneralRe: PLEASE help (me) with syntax for placings redirection to file. Pin
Salvatore Terress19-Feb-24 16:16
Salvatore Terress19-Feb-24 16:16 
GeneralRe: PLEASE help (me) with syntax for placings redirection to file. Pin
Mircea Neacsu19-Feb-24 16:19
Mircea Neacsu19-Feb-24 16:19 
GeneralRe: PLEASE help (me) with syntax for placings redirection to file. Pin
Salvatore Terress20-Feb-24 5:24
Salvatore Terress20-Feb-24 5:24 
GeneralRe: PLEASE help (me) with syntax for placings redirection to file. Pin
Richard MacCutchan20-Feb-24 6:07
mveRichard MacCutchan20-Feb-24 6:07 
GeneralRe: PLEASE help (me) with syntax for placings redirection to file. Pin
Mircea Neacsu20-Feb-24 6:09
Mircea Neacsu20-Feb-24 6:09 
GeneralRe: PLEASE help (me) with syntax for placings redirection to file. Pin
k505420-Feb-24 6:53
mvek505420-Feb-24 6:53 
Mircea Neacsu wrote:
You cannot send results to file and console "at the same time"

At the risk of further confusing the OP, I'd like to remind you of the tee command
Bash
$ ls | tee /tmp/foo
    PID TTY          TIME CMD
3995778 pts/1    00:00:00 bash
3995865 pts/1    00:00:00 ps
3995866 pts/1    00:00:00 tee
$ cat /tmp/foo
    PID TTY          TIME CMD
3995778 pts/1    00:00:00 bash
3995865 pts/1    00:00:00 ps
3995866 pts/1    00:00:00 tee
But to the OP's issue, I'd like to, once again, point out that system() is not an ideal tool to use if you want to capture command output. A better option would be to use popen() or a QProcess object. The masochists could also write their own process object that allows reading and writing to the child process, but that's an adventure not for the faint of heart.
"A little song, a little dance, a little seltzer down your pants"
Chuckles the clown

GeneralRe: PLEASE help (me) with syntax for placings redirection to file. Pin
Mircea Neacsu20-Feb-24 6:55
Mircea Neacsu20-Feb-24 6:55 
GeneralRe: PLEASE help (me) with syntax for placings redirection to file. Pin
Salvatore Terress20-Feb-24 10:02
Salvatore Terress20-Feb-24 10:02 
GeneralRe: PLEASE help (me) with syntax for placings redirection to file. Pin
Richard MacCutchan20-Feb-24 21:45
mveRichard MacCutchan20-Feb-24 21:45 
AnswerRe: PLEASE help (me) with syntax for placings redirection to file. Pin
Richard MacCutchan19-Feb-24 21:42
mveRichard MacCutchan19-Feb-24 21:42 
QuestionRepost This is a request for C/C++ code... Pin
Salvatore Terress16-Feb-24 6:49
Salvatore Terress16-Feb-24 6:49 

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.