Click here to Skip to main content
15,913,722 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: sorry for a non-c++ quwstion: PDF format Pin
Steve Mayfield26-Jun-05 16:18
Steve Mayfield26-Jun-05 16:18 
Generalautocomplete members in class context Pin
bruce2g26-Jun-05 11:44
bruce2g26-Jun-05 11:44 
GeneralRe: autocomplete members in class context Pin
Jörgen Sigvardsson26-Jun-05 11:56
Jörgen Sigvardsson26-Jun-05 11:56 
QuestionOnTimer?? Pin
Larsson26-Jun-05 11:11
Larsson26-Jun-05 11:11 
Questionneed a multimedia library!? Pin
ThinkingPrometheus26-Jun-05 10:34
ThinkingPrometheus26-Jun-05 10:34 
AnswerRe: need a multimedia library!? Pin
Christian Graus26-Jun-05 16:03
protectorChristian Graus26-Jun-05 16:03 
Questionhow to get control of flash formular? Pin
Anonymous26-Jun-05 10:23
Anonymous26-Jun-05 10:23 
GeneralHELP: cpu load graph plotting program Pin
kevingpo26-Jun-05 7:52
kevingpo26-Jun-05 7:52 
I am making a monitor program for the PC. My monitor program will grab statistics about CPU and memory every 1 or 5 seconds. Then I want to store this data so I have a history and hence be able to graph this out in my GUI.

I thought about using a plain text file to store my graph data and plot it out. Plot it out manually or use gnuplot.

I found this tool called RRDTool (http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/). It's a database to store time-series data. Then it will beautifully graph out your data. However it's based on executing/running the program/script. Data is input using it's own command-line script. And graph creation is done the same way using another command-line script.

Problem is, how can I get C/C++ to call or incorporate RRDTool command-line program into my GUI? Is there any way in C/C++ to call another program? I don't think there is. Plus I don't think RRDTool has developer libraries (lib*.lib, etc) for C/C++ programmers to call into their own programs.

If anyone has any suggestions/advice as to easy ways to store simple statistics (CPU & memory load), and graph them in a GUI like GTK+ (http://www.gtk.org/) I'd be very grateful.

Or does anyone know a 3rd party graph plotting library that plots to GUIs like GTK/QT/SDL?

Many thanks.
GeneralRe: HELP: cpu load graph plotting program Pin
Ravi Bhavnani26-Jun-05 8:45
professionalRavi Bhavnani26-Jun-05 8:45 
GeneralRe: HELP: cpu load graph plotting program Pin
Anonymous26-Jun-05 10:19
Anonymous26-Jun-05 10:19 
Generalmember functions Pin
zildjohn0126-Jun-05 7:39
zildjohn0126-Jun-05 7:39 
GeneralRe: member functions Pin
Jose Lamas Rios26-Jun-05 16:36
Jose Lamas Rios26-Jun-05 16:36 
GeneralRe: member functions Pin
zildjohn0129-Jun-05 9:23
zildjohn0129-Jun-05 9:23 
GeneralRe: member functions Pin
Jose Lamas Rios29-Jun-05 11:03
Jose Lamas Rios29-Jun-05 11:03 
QuestionHow to develop real-time communication program through RTP Pin
AntonlioX26-Jun-05 4:01
AntonlioX26-Jun-05 4:01 
Generalabout Gina in XP Pin
Veelone26-Jun-05 1:55
Veelone26-Jun-05 1:55 
GeneralRe: about Gina in XP Pin
LunaticFringe26-Jun-05 3:55
LunaticFringe26-Jun-05 3:55 
General Looking for Developers to try new C++ XML interface. Pin
Stuart Konen25-Jun-05 20:09
Stuart Konen25-Jun-05 20:09 
GeneralRe: Looking for Developers to try new C++ XML interface. Pin
Trollslayer25-Jun-05 22:14
mentorTrollslayer25-Jun-05 22:14 
GeneralRe: Looking for Developers to try new C++ XML interface. Pin
Ravi Bhavnani26-Jun-05 3:06
professionalRavi Bhavnani26-Jun-05 3:06 
GeneralRe: Looking for Developers to try new C++ XML interface. Pin
Stuart Konen26-Jun-05 7:52
Stuart Konen26-Jun-05 7:52 
GeneralRe: Looking for Developers to try new C++ XML interface. Pin
ThatsAlok26-Jun-05 19:00
ThatsAlok26-Jun-05 19:00 
GeneralQuestion on IMPLEMENT_DYNCREATE In Multiple Inheritance Case Pin
yccheok25-Jun-05 19:44
yccheok25-Jun-05 19:44 
GeneralRe: Question on IMPLEMENT_DYNCREATE In Multiple Inheritance Case Pin
John M. Drescher26-Jun-05 4:16
John M. Drescher26-Jun-05 4:16 
GeneralRe: Question on IMPLEMENT_DYNCREATE In Multiple Inheritance Case Pin
Jose Lamas Rios26-Jun-05 16:54
Jose Lamas Rios26-Jun-05 16:54 

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.