Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming > Application Programming

Reply
 
LinkBack Thread Tools
Old 07-16-09   #1 (permalink)
Audiophile
 
Gnarly's Avatar
 
intel nvidia

Join Date: Oct 2004
Location: Missouri
Posts: 2,198

Rep: 113 Gnarly is acknowledged by manyGnarly is acknowledged by many
Unique Rep: 91
FAQs Submitted: 2
Trader Rating: 4
Default C/C++ Windows GUI general questions :) & which IDE?

So far I've been running all my C++ code via cmd with arguments or in a console with cin>> and cout<< for instructions. I want to start making GUIs for my progams. Right now I'm looking at this. Is learning the win32 API the best place to start? This tutorial teaches win32 API with C. I would prefer C++, but it seems the transition to C is easy enough.

Is there a better way? Right now I want text boxes, buttons, forms, start/stop functionality, possible pop-ups, tabs, with room for more and more complex interfaces.

So I guess what I want know, is C + Win32 API the best place to start learning about C/C++ GUIs? Link me to any tutorials/books you think might be useful. I eventually want to do pretty, interesting, unique stuff and not have all my programs look like they're from 1998 (though at the moment, that is less important).

ONE MORE THING. I have CodeGear / Borland C++ Builder 2007, Visual Studio, Visual Basic Express 2008, Visual C++ Express 2008, and Dev-C++. I keep migrating between all of them, never really getting comfortable or efficient with any of them. Which IDE/Compiler should I stick with?
Thanks,

Wyatt
__________________
System: Promise of Stress
CPU
Q9450
Motherboard
GIGABYTE GA-EP35-DS3L P35
Memory
4x2gb G.Skill DDR2 800
Graphics Card
evga gtx 260 192
Hard Drive
640gb WD + 750gb Samsung
Sound Card
Flashed Chaintech AV710 for optical out
Power Supply
Corsair HX520W
Case
Coolermaster CM690
CPU cooling
lapped Tuniq Tower
OS
Vista Business x64
Monitor
24" Samsung

Last edited by Gnarly : 07-16-09 at 01:20 AM
Gnarly is offline   Reply With Quote
Old 07-16-09   #2 (permalink)
Linux Lobbyist
 
amd ati

Join Date: Oct 2008
Location: Melbourne, Teh land of Oz
Posts: 1,682

Rep: 99 bomfunk is acknowledged by some
Unique Rep: 86
Trader Rating: 0
Default

Firstly, I should tell you that programming GUIs by directly using Windows API calls is a huge pain and not the type of thing that anyone really does any more, except for special circumstances or learning purposes (and, well, since you're learning I don't think it'll be bad, but just to let you know).

Quote:
So I guess what I want know, is C + Win32 API the best place to start learning about C/C++ GUIs?
Well, to start learning about GUIs you should definitely use a visual RAD IDE, basically the type that allows you to draw the components on the screen (you appear to be familiar with these already).

Whether Win32 API is the best place to start... IDK. I can fairly safely say that it's not a bad place to start if you want to get the feel of manually programming your GUIs, but while we're on the subject, have you considered using a cross-platform widget toolkit like GTK+ or Qt? With these, you can make Windows apps but since they're cross-platform, you can make the programs work on pretty much any platform (Linux, Unix, OS X, w/e) as long as you don't use any other Windows-specific coding. Of course, nothing keeps you from learning these later on if you ever need/want to develop on other platforms - just letting you know that there are different possibilities.

Quote:
Which IDE/Compiler should I stick with?
I wouldn't recommend Dev-C++ because it doesn't seem to be maintained any more. Any of the big-name ones (Microsoft/CodeGear) IDEs should be good enough - you may also want to take a look at Eclipse. I used to be a big fan of Borland stuff, I still like them but I just haven't kept up with their offerings so I don't know anything about their newer stuff. Visual C++ and even Visual C# (different language but very similar to C/C++ and very powerful/popular) would be good from the VS bunch, but I personally am not a big fan of VB.

So basically, I suggest you try stick with Borland/CG or Visual C++, especially if you're strictly planning to do Windows programming. For cross-platform stuff, Eclipse is one of, if not, the best.

Also, may I ask where you got your Borland thing from? Do they have a free version like the Visual Studio Express lot, or did you get it through your school or something? Or did you use any special sources?
__________________
Statistix show that 92% of teenagers have moved to real music . If you are one of the sane 8% that still listen to funk, hip-hop or jazz, copy and past this into your sig, for thou art now offically awesome!
Quote:
Originally Posted by un4rmed View Post
With windows, everything is already set up and working.
DISCLAIMER:
By reading the above post, you accept that the poster ("bomfunk") is now the rightful owner of all your present possessions.

System: Titan Mauler (Advanced Micro Destroyer)
CPU
Phenom X3 8450 @ 2.1GHz
Motherboard
ASRock AOD790GX/128M (790GX+SB750)
Memory
2x2GB Amicroe DDR2-800
Graphics Card
Radeon HD3300 IGP 32MB shared memory
Hard Drive
500GB Samsung & 320GB Seagate Barracuda
Sound Card
Realtek onboard
Power Supply
CoolerMaster 380W
Case
Generic MIDI tower
CPU cooling
Stock
GPU cooling
Stock
OS
Ubuntu 9.04 "Jaunty Jackalope" 64-bit
Monitor
Acer 17" 8ms LCD (AL1715)
bomfunk is offline   Reply With Quote
Old 07-16-09   #3 (permalink)
Audiophile
 
Gnarly's Avatar
 
intel nvidia

Join Date: Oct 2004
Location: Missouri
Posts: 2,198

Rep: 113 Gnarly is acknowledged by manyGnarly is acknowledged by many
Unique Rep: 91
FAQs Submitted: 2
Trader Rating: 4
Default

I'm doing research for my school, so they purchased Borland for me. It was the older 2007 student edition, but it's a complete, full version.

Here is a link to retail cost. They only charged $100 since I'm not a professional, and I'm not profiting (yet) from it.

Widget toolkits look much better than learning win32 api. I always get frustrated when people say, "I do everything in Notepad, no need for anything else" since not all of us are minimalist powerusers with years of experience.

Rep+ thank you!!!
__________________
System: Promise of Stress
CPU
Q9450
Motherboard
GIGABYTE GA-EP35-DS3L P35
Memory
4x2gb G.Skill DDR2 800
Graphics Card
evga gtx 260 192
Hard Drive
640gb WD + 750gb Samsung
Sound Card
Flashed Chaintech AV710 for optical out
Power Supply
Corsair HX520W
Case
Coolermaster CM690
CPU cooling
lapped Tuniq Tower
OS
Vista Business x64
Monitor
24" Samsung
Gnarly is offline   Reply With Quote
Old 07-16-09   #4 (permalink)
Off By 340 Undecillion
 
The Bartender Paradox's Avatar
 
amd nvidia

Join Date: Oct 2004
Location: Portland, Oregon
Posts: 2,472

Rep: 368 The Bartender Paradox is a proven memberThe Bartender Paradox is a proven memberThe Bartender Paradox is a proven memberThe Bartender Paradox is a proven member
Unique Rep: 276
Hardware Reviews: 1
Trader Rating: 3
Default

For IDEs I suggest Code::Blocks. Its free and much better than Dev-C++ (It's supported!)
__________________
Congratulations! You have foundthe secret text! You get a cookie.

System: ½
CPU
AMD A64 3500+ Winchester
Motherboard
DFI nF4 SLi-DR
Memory
OCZ 4000VX
Graphics Card
EVGA 7800GT
Hard Drive
Maxtor 300Gb 16Mb Buffer
Sound Card
computers make sounds?
Power Supply
OCZ PowerStream 520W
Case
None
CPU cooling
Big
GPU cooling
Bigger
OS
XP Pro
Monitor
SOYO LCD
The Bartender Paradox is offline Overclocked Account The Bartender Paradox's Gallery   Reply With Quote
Old 07-16-09   #5 (permalink)
Audiophile
 
Gnarly's Avatar
 
intel nvidia

Join Date: Oct 2004
Location: Missouri
Posts: 2,198

Rep: 113 Gnarly is acknowledged by manyGnarly is acknowledged by many
Unique Rep: 91
FAQs Submitted: 2
Trader Rating: 4
Default

I'm downloading Qt. I understand the commercial usage restrictions, and that doesn't bother me. I tried downloading FLTK, but couldn't figure out how to install or use the frickin' thing, so I assume I'm better off with a program that will hold my hand. wxWidgets had mixed reviews, a lot of people said it was slow. I don't know how much this would really matter for what I'm doing.

Anyway, is there an IDE that combines GUI/widget functionality with a nice complier in one slick, easy enough for children, interface?
__________________
System: Promise of Stress
CPU
Q9450
Motherboard
GIGABYTE GA-EP35-DS3L P35
Memory
4x2gb G.Skill DDR2 800
Graphics Card
evga gtx 260 192
Hard Drive
640gb WD + 750gb Samsung
Sound Card
Flashed Chaintech AV710 for optical out
Power Supply
Corsair HX520W
Case
Coolermaster CM690
CPU cooling
lapped Tuniq Tower
OS
Vista Business x64
Monitor
24" Samsung
Gnarly is offline   Reply With Quote
Old 07-24-09   #6 (permalink)
Linux Lobbyist
 
Territorial's Avatar
 
amd nvidia

Join Date: Jul 2009
Location: Laval
Posts: 61

Rep: 17 Territorial Unknown
Unique Rep: 12
Trader Rating: 0
Default

I would also suggest Code::Blocks as an IDE. It also has tools built in to create GUI applications with WxWidgets, which happens to be the GUI toolkit I recommend
__________________
System: Dawn
CPU
Phenom 9500
Motherboard
XFX Geforce 8200
Memory
4GB
Graphics Card
XFX Geforce 9600 GSO
Hard Drive
750GB
Sound Card
realtek hd sound
Power Supply
650W
Case
custom
OS
Vista 64bit/Arch Linux(dualboot)
Monitor
19" 4:3
Territorial is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -5. The time now is 10:41 AM.


Overclock.net is a Carbon Neutral Site Creative Commons License

Terms of Service / Forum Rules | Privacy Policy | DMCA Info | Advertising | Become an Official Vendor
Copyright © 2009 Shogun Interactive Development. Most rights reserved.
Page generated in 0.14075 seconds with 8 queries