Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Nov 13th, 2004, 3:54 PM   #11
Da-Kid
Programmer
 
Join Date: Nov 2004
Posts: 47
Rep Power: 0 Da-Kid is on a distinguished road
Thanks atleast someone agree's with me. So what program do you all recommend I learn about to make GUI's.
Someone told me Anjuta was a good GTK program ..any other ideas?
Da-Kid is offline   Reply With Quote
Old Nov 13th, 2004, 4:07 PM   #12
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,473
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
I also use Anjuta... you could also use vi and just code based off of the included GTK+ libraries.
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Nov 13th, 2004, 9:43 PM   #13
Da-Kid
Programmer
 
Join Date: Nov 2004
Posts: 47
Rep Power: 0 Da-Kid is on a distinguished road
I'd rather just code in nano. Then use Anjuta to make a GUI for the program..where could I get a tutorial on how to make a GUI with Anjuta
Da-Kid is offline   Reply With Quote
Old Nov 14th, 2004, 1:03 AM   #14
Da-Kid
Programmer
 
Join Date: Nov 2004
Posts: 47
Rep Power: 0 Da-Kid is on a distinguished road
#include <iostream>

void systeminfo();
using namespace std;

int main(int argc, char *argv[])
{
 systeminfo();
}


void systeminfo()
{
 system("date");
 system("uname -p");
 system("grep -i mhz /proc/cpuinfo");
}

Could someone tell me how to get a title for each system call. For example..
If would say..
"Date: November blah blah"
"CPU: Intel 2.4GHz"
When I run that program it prints out like this..

Sun Nov 14 01:04:27 GMT 2004
Intel(R) Celeron(R) CPU 2.40GHz
cpu MHz     : 2443.925
Date:0CPU:00
Da-Kid is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 8:38 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC