Jump to content

Is there a way to create a GUI in C?

- - - - -

  • Please log in to reply
14 replies to this topic

#1
Bioshox

Bioshox

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 207 posts
Is it possible to create a GUI in C if so are there any tutorials???

Many thnx

#2
mebob

mebob

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 490 posts
There are MANY ways to create GUIs in C, all of which require a library of some sort or using an OS API (in windows). Some of the best GUI libraries are GTK+ and wxWidgets. On their websites, they have tutorials or links to tutorials.
Latinamne loqueris?

#3
bbqroast

bbqroast

    Codecall Addict

  • Members
  • PipPipPipPipPipPipPip
  • 554 posts
  • Location:/etc/passwd
You should use a (cross platform) library:
Depends what you want WxWidgets is good for applications, SDL is great for 2D games (see lazyfoo.net - best tutorials for it) and openGL is for 3D games.
Please, write clearly with proper structure. Double spacing makes the text feel un-jointed, Capitalizing Every Word Means People Stop Before Every Word Sub-Consciously Which Is A Pain In The Backside, and use code tags! (The right most styling box).

#4
Axel

Axel

    Newbie

  • Members
  • PipPip
  • 27 posts
Just use the winapi or some gui toolkit like wxwidgets or gtk

#5
siestacat

siestacat

    Newbie

  • Members
  • Pip
  • 3 posts
WxWidgets is laid out very logically, use that. Windows API is :thumbdown:

#6
mebob

mebob

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 490 posts

siestaacat said:

Windows API is :thumbdown:
I agree, at least so for GUI programming.
Latinamne loqueris?

#7
RhetoricalRuvim

RhetoricalRuvim

    JavaScript Programmer

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,254 posts
  • Location:C:\Countries\US

mebob said:

I agree, at least so for GUI programming.

Win32 API is what I'm used to; I wouldn't say it's very easy, but I don't really - as of right now - have any other way of using GUI.

#8
mebob

mebob

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 490 posts
Why can't you use GTK+ or wxWidgets?
Latinamne loqueris?

#9
RhetoricalRuvim

RhetoricalRuvim

    JavaScript Programmer

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,254 posts
  • Location:C:\Countries\US
Who? Me, or the OP?

#10
mebob

mebob

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 490 posts
You.
Latinamne loqueris?

#11
RhetoricalRuvim

RhetoricalRuvim

    JavaScript Programmer

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,254 posts
  • Location:C:\Countries\US
I don't know how to. I mean, I don't even know what files to include or to download.

#12
mebob

mebob

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 490 posts
Oh, well I could help you with that lol
Latinamne loqueris?




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users