I'm trying to get the output of zenity -entry into a C language variable. So far i can only think of using system and i still have no luck.
CVar=system("$(zenity --entry --title='TITLE' --text='TEXT')");
what i'm trying to do is get the value of user input from zenity entry and assign it to CVar. Any help ?