gui through c

i have a project(sort of) where i have to write a c programto take in user inputs and store it into a mysql database for future retreival.

now, i have written the program for console mode.

ie it asks the user

and then the name entered by the user is stored on the database.

but, i have to do it in this way , like when the screen comes it will show

and, from here the name entered will be stored in a string variable.

i am not sure , but i think it is gui programming.

i have no knowledge about gui programming.

unfortunately, i don’t have much time to read a lot.

so. can you please point me to some tutorial or some resources or anything that is specifically aimed at this type of gui programming.

i want to use the win32 api

please help!

Win32 API is not available on QNX.

You’re posting on the wrong forum. This forum is about QNX, a completely different operating system from Windows, with a completely different API for GUI programing. So you’re asking the wrong crowd.

Having said that, you probably DON’T want to use the Win32 API. It is old, difficult to work with, and essentially deprecated in favor of newer technologies. For better or worse, virtually no one programs directly in the Win32 API any more.

For straight C, the most obvious choice for GUI is GTK+, although it’s a little tricky on Windows. You could also look at IUP, though I don’t know much about it. There’s even wxC, although that doesn’t look like an easy option.

Good luck… and try another forum.

-James Ingraham
Sage Automation, Inc.