Go Back   CodingForums.com > :: Computing & Sciences > Computer Programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-15-2005, 08:17 PM   PM User | #1
Ryltar
New Coder

 
Join Date: Nov 2004
Location: Kansas
Posts: 86
Thanks: 2
Thanked 0 Times in 0 Posts
Ryltar is an unknown quantity at this point
New to PC Coding

Hi I am new to PC coding ( I know PHP, HTML, CSS, JavaScript ) and was wondering where to start. My ultimate goal is for GUI PC programs. I have heard that C++ is fast and powerful, while Java is pretty good but lacking some power. What are you opinions and also what are some good resources for me to learn from...

Thanks,
ryltar
Ryltar is offline   Reply With Quote
Old 02-15-2005, 08:24 PM   PM User | #2
KeZZeR
Regular Coder

 
Join Date: Oct 2004
Location: England
Posts: 282
Thanks: 0
Thanked 0 Times in 0 Posts
KeZZeR is an unknown quantity at this point
Well if you know PHP then you're not new to programming because PHP is a server side scripting language and follows many many principles which are similar to programming languages.

C++ and Java are both powerful languages with nice libraries. Personally I use Java but only because of what i'm using it for. C++ is a damn good language, it's also difficult. For GUI's i'd imagine you'd have to use the Win32 API as a front-end for your C++ application to draw the GUI.
KeZZeR is offline   Reply With Quote
Old 02-15-2005, 08:43 PM   PM User | #3
shmoove
Regular Coder

 
Join Date: Dec 2003
Posts: 367
Thanks: 0
Thanked 0 Times in 0 Posts
shmoove is an unknown quantity at this point
If your goal is making GUI PC programs that won't need to do any real heavy lifting (like long and complicated calculations) or access very low level stuff (like device drivers) then you'll probably want to consider one of the RAD languages like VB, Delphi, etc. They were built for that purpose.

shmoove
shmoove is offline   Reply With Quote
Old 02-15-2005, 09:01 PM   PM User | #4
cfc
Regular Coder

 
Join Date: Dec 2004
Location: Keswick, Ontario
Posts: 251
Thanks: 0
Thanked 0 Times in 0 Posts
cfc is an unknown quantity at this point
Most languages can create GUIs these days, including PHP

Pros:
- C++ is extremely powerful, flexible, and fast (compared to Java). Odds are you're running more than a couple of programs coded in C++ right now.
- Java is entirely OOP, almost as powerful as C++, and much less complicated. It is also cross-platform. The swing API makes UIs much easier to code by hand than the regular Win32 API in C++. I can't remember too much about MFC, but from limited memory I don't think it matches up to Swing unless you're using the VC++ IDE in which case you don't have to code them by hand anyway .

Cons:
- C++ is complicated and is a lower-level language than Java. It's entirely possible for someone that's new to programming to learn C++, but expect it to take longer. Also expect C++ code to be larger than Java code.
- Java is slower than C++ by a factor that increases as you go down JRE/JVM versions. Definitely no good if you want to code CPU-intensive applications like computer games. Also, the multiple JRE versions cause some to call Java "version proprietary" because unlike C++ Java is still in development and you can't count on users to have the latest JRE/JVM installed unless you bundle it with your software a la LimeWire.

If you want a "lighter" language that can do GUIs fairly easily but still has a good deal of power and is cross-platform, look into Python; esp. if you're like me and wouldn't touch Visual Basic with a 10ft. pole.

Last edited by cfc; 02-15-2005 at 09:06 PM..
cfc is offline   Reply With Quote
Old 02-15-2005, 10:45 PM   PM User | #5
Ryltar
New Coder

 
Join Date: Nov 2004
Location: Kansas
Posts: 86
Thanks: 2
Thanked 0 Times in 0 Posts
Ryltar is an unknown quantity at this point
Cool. I will check into those then. Thanks for your sugestions.
Ryltar is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:49 PM.


Advertisement
Log in to turn off these ads.