OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> C++ Question
Capn_Fish
post May 1 2007, 05:00 PM
Post #1





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



I'm making a program for the Z that I need to take a variable and use it as part of a "system (xxxx)" command (or some other command to have the program call another command with args). How do I do that? Sorry if a) this is really obvious or cool.gif this question doesn't make sense. I have very little C++ knowledge, but am trying to learn.

Links to a solution would also be appreciated.

Thanks in advance.
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
Capn_Fish
post May 10 2007, 02:17 PM
Post #2





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



New question: Is jumping in WAY over my head and trying to figure out GUI programming with GTKmm with very little C++ knowledge not recommended (for reasons other than the frustration factor)?
Go to the top of the page
 
+Quote Post
Meanie
post May 10 2007, 04:15 PM
Post #3





Group: Members
Posts: 2,808
Joined: 21-March 05
From: Sydney, Australia
Member No.: 6,686



QUOTE(Capn_Fish @ May 11 2007, 08:17 AM)
New question: Is jumping in WAY over my head and trying to figure out GUI programming with GTKmm with very little C++ knowledge not recommended (for reasons other than the frustration factor)?
*


i'd recommend trying out the qt3 widgets first. took me 3 days to learn qt3 api and write pdaXcfg. i did all this natively on the z so compilation and debugging was much slower. you can actually install qt3 on a pc, compile and debug your app on the pc and when it all looks ok, recompile on the zaurus. there also is qt designer, a gui to create qt3 guis which also works on either pc or zaurus... gtkmm is a bit harder to learn...
Go to the top of the page
 
+Quote Post
Capn_Fish
post May 10 2007, 05:35 PM
Post #4





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



QUOTE(Meanie @ May 10 2007, 07:15 PM)
QUOTE(Capn_Fish @ May 11 2007, 08:17 AM)
New question: Is jumping in WAY over my head and trying to figure out GUI programming with GTKmm with very little C++ knowledge not recommended (for reasons other than the frustration factor)?
*


i'd recommend trying out the qt3 widgets first. took me 3 days to learn qt3 api and write pdaXcfg. i did all this natively on the z so compilation and debugging was much slower. you can actually install qt3 on a pc, compile and debug your app on the pc and when it all looks ok, recompile on the zaurus. there also is qt designer, a gui to create qt3 guis which also works on either pc or zaurus... gtkmm is a bit harder to learn...
*


What about FLTK?

And I'd assume it'd take me much longer than 3 days if that's how long it took you, as I don't have the background you do wink.gif
Go to the top of the page
 
+Quote Post

Posts in this topic
Capn_Fish   C++ Question   May 1 2007, 05:00 PM
freizugheit   http://www.cprogramming.com/tips/showTip.p...count...   May 1 2007, 05:56 PM
Meanie   QUOTE(Capn_Fish @ May 2 2007, 11:00 AM)I...   May 1 2007, 06:19 PM
Capn_Fish   OK, I got everything sorted out (for the moment). ...   May 1 2007, 06:31 PM
Capn_Fish   New question: Is jumping in WAY over my head and t...   May 10 2007, 02:17 PM
Meanie   QUOTE(Capn_Fish @ May 11 2007, 08:17 AM)New q...   May 10 2007, 04:15 PM
Capn_Fish   QUOTE(Meanie @ May 10 2007, 07:15 PM)QUOTE(Ca...   May 10 2007, 05:35 PM
pgas   Depending on you background, you might want to try...   May 10 2007, 09:54 PM
Meanie   QUOTE(pgas @ May 11 2007, 03:54 PM)Depending ...   May 10 2007, 10:19 PM
pgas   I wonder if pyqt and python + gtk-server ( http://...   May 11 2007, 12:21 AM
Capn_Fish   Nah, I like C++, and I'll look into QT3. Than...   May 11 2007, 03:51 AM
Capn_Fish   You need -devel libs to compile QT3 on the Z, no? ...   May 15 2007, 09:51 AM
Capn_Fish   Is there any way to only use one string-like varia...   Jun 8 2007, 05:13 PM
Meanie   QUOTE(Capn_Fish @ Jun 9 2007, 11:13 AM)Is the...   Jun 8 2007, 06:50 PM
Capn_Fish   QUOTE(Meanie @ Jun 8 2007, 09:50 PM)QUOTE(Cap...   Jun 8 2007, 06:57 PM
Meanie   QUOTE(Capn_Fish @ Jun 9 2007, 12:57 PM)QUOTE(...   Jun 9 2007, 12:04 AM
Snappy   QUOTE(Capn_Fish @ Jun 9 2007, 10:57 AM)QUOTE(...   Jun 10 2007, 08:51 PM
pelrun   Use std::string wherever you can (and pass const/n...   Jun 10 2007, 05:53 AM
Capn_Fish   Slowly working around my problem, but I have anoth...   Jun 13 2007, 07:28 PM
Capn_Fish   Never mind, I worked around it.   Jun 14 2007, 07:40 AM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th September 2014 - 10:10 PM