how to send parameters which are numeroc in system function
- From: "nilesh " <nlpawar rediffmail com>
- To: gtk-app-devel-list gnome org
- Subject: how to send parameters which are numeroc in system function
- Date: 10 Nov 2002 12:32:42 -0000
hello,
    i m writting an application in gtk 1.2. here, i want to 
script using system function call but, this function takes only 
character variables and i want to pass integer to this script and 
the same script is also not accepting it, but instead if values 
are given directly then that script get's executed. here i m 
giving my function:
void ok_pressed(GtkWidget *window, gpointer *data)
{
   gchar *ent1;
   gchar *ent2;
   ent1 = gtk_get_textentry(GTK_ENTRY(txt_ent));
   ent1 = gtk_get_textentry(GTK_ENTRY(txt_ent));
   system("./script ent2 ent1");
}
thank u.
__________________________________________________________
Give your Company an email address like
ravi @ ravi-exports.com.  Sign up for Rediffmail Pro today!
Know more. http://www.rediffmailpro.com/signup/
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]