470,849 Members | 1,036 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,849 developers. It's quick & easy.

Creating a file with panel contents

Within a C++ program, how could I dump all the panel activity (while
the program is running) to a file?

Thanks,

Jeff
Jun 27 '08 #1
4 1054
On Apr 24, 10:36 am, Miner Jeff <jeff.p.bled...@lmco.comwrote:
Within a C++ program, how could I dump all the panel activity (while
the program is running) to a file?

Thanks,

Jeff
Define "Panel activity"
Jun 27 '08 #2
On Apr 24, 11:20*am, Christopher <cp...@austin.rr.comwrote:
On Apr 24, 10:36 am, Miner Jeff <jeff.p.bled...@lmco.comwrote:
Within a C++ program, how could I dump all the panel activity (while
the program is running) to a file?
Thanks,
Jeff

Define "Panel activity"
I mean all the text that is written to the panel: operator prompts,
entries by the operator, and results.
Jun 27 '08 #3
On Apr 24, 4:10 pm, Miner Jeff <jeff.p.bled...@lmco.comwrote:
On Apr 24, 11:20 am, Christopher <cp...@austin.rr.comwrote:
On Apr 24, 10:36 am, Miner Jeff <jeff.p.bled...@lmco.comwrote:
Within a C++ program, how could I dump all the panel activity (while
the program is running) to a file?
Thanks,
Jeff
Define "Panel activity"

I mean all the text that is written to the panel: operator prompts,
entries by the operator, and results.
You description is still pretty ambiguous.
On one hand a "panel" could be some UI element of a particular
application, on the other you might be referring to the text that
appears in your console. In the former case, it depends on your UI
library and is most likely something specific to your appliciation. In
the latter case you can use pipes (at least in a *nix based system,
not sure if the cmd window in Windows supports pipes). You can google
"Piping IO". You could also, if your application is simple, copy
everything that streams to cout, to an fstream.

Jun 27 '08 #4
On Apr 24, 5:16*pm, Christopher <cp...@austin.rr.comwrote:
On Apr 24, 4:10 pm, MinerJeff<jeff.p.bled...@lmco.comwrote:
On Apr 24, 11:20 am, Christopher <cp...@austin.rr.comwrote:
On Apr 24, 10:36 am, MinerJeff<jeff.p.bled...@lmco.comwrote:
Within a C++ program, how could I dump all the panel activity (while
the program is running) to a file?
Thanks,
Jeff
Define "Panel activity"
I mean all the text that is written to the panel: operator prompts,
entries by the operator, and results.

You description is still pretty ambiguous.
On one hand a "panel" could be some UI element of a particular
application, on the other you might be referring to the text that
appears in your console. In the former case, it depends on your UI
library and is most likely something specific to your appliciation. In
the latter case you can use pipes (at least in a *nix based system,
not sure if the cmd window in Windows supports pipes). You can google
"Piping IO". You could also, if your application is simple, copy
everything that streams to cout, to an fstream.
I had inherited the code and hadn't noticed that a logfile (containing
the contents of the console) was already being created. Thanks for the
input.

Jeff
Jun 27 '08 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Fran Tirimo | last post: by
reply views Thread by Ghada Ayed via DotNetMonster.com | last post: by
7 posts views Thread by mike | last post: by
2 posts views Thread by DaWoE | last post: by
6 posts views Thread by Sushil Prasad | last post: by
reply views Thread by .nu | last post: by
2 posts views Thread by Reggie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.