Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Is gui programming hard or am I just stupid?
New Posts  All Forums:Forum Nav:

Is gui programming hard or am I just stupid?

post #1 of 8
Thread Starter 
I'm trying to make something with wxwidgets right now and the learning curve just seems too steep. To get any understanding of what's going on I need to dig through header files. I tried C# wpf applications and visual c++ windows form applications and they seem even worse because I don't even know where the classes are coming from since there's no included files...


I heard it easy to make gui's with java but I really don't want to download a new ide and learn java right now.

So anyway is c++ gui programming actually hard or am I too big of a noob to get into gui's yet if they seem hard to me?
Pepe Silvia
(13 items)
 
  
CPUMotherboardGraphicsRAM
255 @ 4 Ghz MSI 870-C45 GT 520 @ 1Ghz Crucial Rendition 4GB DDR3 
Hard DriveOSMonitorPower
Hitachi 1TB Win 7 19" 420W 
  hide details  
Reply
Pepe Silvia
(13 items)
 
  
CPUMotherboardGraphicsRAM
255 @ 4 Ghz MSI 870-C45 GT 520 @ 1Ghz Crucial Rendition 4GB DDR3 
Hard DriveOSMonitorPower
Hitachi 1TB Win 7 19" 420W 
  hide details  
Reply
post #2 of 8
What languages do you know? What classes have you taken? What books have you read?

Its a bit hard to define "hard" without any reference:)
Done for Now...
(13 items)
 
  
CPUMotherboardGraphicsRAM
i5 5500k MSI P67A-G43 EVGA GTX 560Ti 8Gb G SKill Ripjaws 1600 
Hard DriveOSMonitorPower
2X500Gb WD Blue Raid 0 Windows 7 Ultimate 64 Bit 22" 1680x1050 OCZ 700W Modular 
CaseMouse
Corsair CX 700w Logitech G3 
  hide details  
Reply
Done for Now...
(13 items)
 
  
CPUMotherboardGraphicsRAM
i5 5500k MSI P67A-G43 EVGA GTX 560Ti 8Gb G SKill Ripjaws 1600 
Hard DriveOSMonitorPower
2X500Gb WD Blue Raid 0 Windows 7 Ultimate 64 Bit 22" 1680x1050 OCZ 700W Modular 
CaseMouse
Corsair CX 700w Logitech G3 
  hide details  
Reply
post #3 of 8
WPF or WinForms are the easiest desktop GUI platforms to learn IMO. Java's tricky until you get your IDE set up right. C++ GUI programming requires a good reference manual on a framework such as Win32, MFC, Qt, etc. and is generally harder to learn.

I'd recommend starting with WinForms and getting a good grasp on event-driven programming, then learn WPF because WinForms is somewhat outdated and WPF is close enough to Silverlight that you could jump into that framework quite easily.
post #4 of 8
Thread Starter 
Damn my post didn't go through >.<.
So to make this short:
I learned c++ on my own and so far it seemed easy but now when I'm trying to learn gui programing it became cryptic. Wxwidgets lack good tutorials and windows form applications seem to be written in c++/cli which is not exactly the same as pure c++.
So in the end I'm not sure if it's because I'm inexperienced or if it's legitimately hard and not going to get better.
Pepe Silvia
(13 items)
 
  
CPUMotherboardGraphicsRAM
255 @ 4 Ghz MSI 870-C45 GT 520 @ 1Ghz Crucial Rendition 4GB DDR3 
Hard DriveOSMonitorPower
Hitachi 1TB Win 7 19" 420W 
  hide details  
Reply
Pepe Silvia
(13 items)
 
  
CPUMotherboardGraphicsRAM
255 @ 4 Ghz MSI 870-C45 GT 520 @ 1Ghz Crucial Rendition 4GB DDR3 
Hard DriveOSMonitorPower
Hitachi 1TB Win 7 19" 420W 
  hide details  
Reply
post #5 of 8
Yeah, hand-coding GUIs is like pulling your own teeth. But it's necessary, as users don't get on with the console. That's why some many business apps now "cheat" - use a javascript 'bridge', and post the output to a web page (albeit internal). You need to know about Apache or IIS, to get the data out there, but it's way quicker to develop (if a little more limited on what you can do)

I'm a Python programmer, C++ scares the hell out of me, so kudos for learning it on your own. But while I'm comfy with Python, using wxWidgets, or even the built-in Tkinter, seems so complex compared to everything I've encountered in Python. I don't know what it is, but it's the nature of the beast - printing graphics to a screen is complicated (hence GPUs!), thus the coding of them will reflect that. But it's just like driving - you're at a stage where you can drive an automatic, now you just gotta learn to drive stick-shift. Once you've got that sussed, it's easy and the world is your highway cool.gif

I'd say pick a toolkit, then google for tutorials, and read a lot. That's what I've done with Tkinter, and after some duds, found a couple of good pages I now regard as my bible. I'd have never cracked it without them (truth be told, whenever I'm coding GUIs, I've got them open, every time)
Little Beast
(12 items)
 
Black 'n' blue II
(15 items)
 
 
CPUGraphicsRAMHard Drive
Intel Core i7-4710MQ Nvidia Geforce GTX860M 2GB 16GB Kingston DDR3 1600MHz 240Gb Silicon Power S55/S60 SSD 
Hard DriveOSOSMonitor
1Tb Toshiba HDD 5400rpm Windows 8.1 Linux Mint 18 17.3" LED 1920x1080 
CaseMouseMouse PadAudio
PCSpecialist Optimus V ST17-860 Logitech MX518 Steelseries QcK Creative HS800 Fatal1ty 
CPUMotherboardGraphicsRAM
Core i7 860 @ 1.25V MSI P55-GD65 Xpertvision Radeon HD4850 4GB G.Skill Ripjaw 
Hard DriveOptical DriveCoolingOS
150Gb Velociraptor & 1Tb WD Caviar Black Opticon Lightscribe DVD-RW DL Noctua NH-U12P SE2 Vista Home Premium x64 
MonitorKeyboardPowerCase
Hyundai BlueH H224W 22" LCD Saitek Eclipse II Thermaltake Purepower RX 550 Galaxy III 
Mouse
Patuoxun optical gaming mouse 3200dpi 
  hide details  
Reply
Little Beast
(12 items)
 
Black 'n' blue II
(15 items)
 
 
CPUGraphicsRAMHard Drive
Intel Core i7-4710MQ Nvidia Geforce GTX860M 2GB 16GB Kingston DDR3 1600MHz 240Gb Silicon Power S55/S60 SSD 
Hard DriveOSOSMonitor
1Tb Toshiba HDD 5400rpm Windows 8.1 Linux Mint 18 17.3" LED 1920x1080 
CaseMouseMouse PadAudio
PCSpecialist Optimus V ST17-860 Logitech MX518 Steelseries QcK Creative HS800 Fatal1ty 
CPUMotherboardGraphicsRAM
Core i7 860 @ 1.25V MSI P55-GD65 Xpertvision Radeon HD4850 4GB G.Skill Ripjaw 
Hard DriveOptical DriveCoolingOS
150Gb Velociraptor & 1Tb WD Caviar Black Opticon Lightscribe DVD-RW DL Noctua NH-U12P SE2 Vista Home Premium x64 
MonitorKeyboardPowerCase
Hyundai BlueH H224W 22" LCD Saitek Eclipse II Thermaltake Purepower RX 550 Galaxy III 
Mouse
Patuoxun optical gaming mouse 3200dpi 
  hide details  
Reply
post #6 of 8
gui coding in c++ is a ballache.

Have you tried Qt? It's a pretty solid framework if rather big, but great for Gui apps. There's even a free IDE that you can download from their site.

Depending on what you want to do, and how complex it needs to be. C# with forms or even wpf is probably going to be the easiest.

What exactly are you trying to achieve?
post #7 of 8
Qt is great, once you get used to all of the signals and slots.

Java Swing is pretty easy too.
    
CPUMotherboardGraphicsRAM
Core i5 4670k ASUS Maximus VI Gene Gigabyte GTX 460 1GB Kingston Hyper-X 
Hard DriveHard DriveHard DriveHard Drive
Samsung 830 OCZ Vertex 3 WD6401AALS WD5000AAKS 
CoolingOSMonitorMonitor
Noctua NH-D14 elementary OS Dell Ultrasharp U2312HM LG W2442PA-BF 
KeyboardPowerCaseMouse
Microsoft Sidewinder X4 Corsair HX750W Corsair Graphite 600T Logitech G700 
Audio
ASUS Xonar DG 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Core i5 4670k ASUS Maximus VI Gene Gigabyte GTX 460 1GB Kingston Hyper-X 
Hard DriveHard DriveHard DriveHard Drive
Samsung 830 OCZ Vertex 3 WD6401AALS WD5000AAKS 
CoolingOSMonitorMonitor
Noctua NH-D14 elementary OS Dell Ultrasharp U2312HM LG W2442PA-BF 
KeyboardPowerCaseMouse
Microsoft Sidewinder X4 Corsair HX750W Corsair Graphite 600T Logitech G700 
Audio
ASUS Xonar DG 
  hide details  
Reply
post #8 of 8
Another vote for Qt here - great for GUI. I use Ebuilder which is a pure GUI editor.

You can also try Glade if you using GTK+.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Coding and Programming
Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Is gui programming hard or am I just stupid?