GIDForums  

Go Back   GIDForums > Computer Programming Forums > Miscellaneous Programming Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 10-Nov-2007, 13:31
ChristieGiorgos's Avatar
ChristieGiorgos ChristieGiorgos is offline
New Member
 
Join Date: Jun 2007
Posts: 4
ChristieGiorgos is on a distinguished road

C or Java?


I've a project to do but I don't know which language to use. I want it as a Windows application, with graphics, not as a console application. Can I do it using C? Are there any libraries I can use for this? Do you have any in mind and how can I use it? Is it harder in C than in Java? I'm asking you because I know C but I have no idea about Java. What do you think, should I start learning Java or use C using the libraries?
  #2  
Old 10-Nov-2007, 22:23
TurboPT's Avatar
TurboPT TurboPT is offline
Regular Member
 
Join Date: Feb 2006
Location: Atlanta, GA
Posts: 926
TurboPT is a jewel in the roughTurboPT is a jewel in the roughTurboPT is a jewel in the rough

Re: C or Java?


Opinion: Both. Either way, learning the library use will be necessary. Java might be easier, but "die-hard" C enthusiasts would probably say "go C".
__________________
Use the force...read the source!!
WYCIWYG -- what you code is what you get!
  #3  
Old 16-Nov-2007, 14:36
crystalattice's Avatar
crystalattice crystalattice is offline
Flame War Instigator
 
Join Date: Apr 2004
Location: San Diego
Posts: 1,534
crystalattice is just really nicecrystalattice is just really nicecrystalattice is just really nicecrystalattice is just really nicecrystalattice is just really nice

Re: C or Java?


Java has Swing, which is it's built-in GUI library. However, it's not pretty and I've heard it's difficult to work with.

C lets you use just about anything: Qt, GTK, et al. Though as TurboPT said, you'll still have to learn the library.

Personally, if you already know C and are comfortable with it, I'd recommend just finding a GUI library you like. Check out Qt; it seems reasonably easy to learn if you're experienced.
__________________
Common Sense v2.0-Striving to make the world a little bit smarter.
  #4  
Old 16-Nov-2007, 15:00
fakepoo fakepoo is offline
Regular Member
 
Join Date: Oct 2007
Posts: 440
fakepoo is a jewel in the roughfakepoo is a jewel in the roughfakepoo is a jewel in the rough

Re: C or Java?


The advantage to using java is that you can run it on any platform that has a java virtual machine (windows/linux/etc.). If you already know C, java will be extremely easy to learn (no memory management). You should be able to find a "drag and drop" graphical IDE for either language.
  #5  
Old 30-Jan-2008, 23:46
mocoski mocoski is offline
New Member
 
Join Date: Jan 2008
Posts: 11
mocoski is on a distinguished road

Re: C or Java?


Quote:
Originally Posted by crystalattice
Java has Swing, which is it's built-in GUI library. However, it's not pretty and I've heard it's difficult to work with.

C lets you use just about anything: Qt, GTK, et al. Though as TurboPT said, you'll still have to learn the library.

Personally, if you already know C and are comfortable with it, I'd recommend just finding a GUI library you like. Check out Qt; it seems reasonably easy to learn if you're experienced.
i agree with this guy if you know it then use it
  #6  
Old 05-Feb-2008, 06:10
alinush alinush is offline
New Member
 
Join Date: Feb 2008
Location: 127.0.0.1
Posts: 3
alinush is on a distinguished road

Re: C or Java?


I guess it depends on what kind of application you're trying to build and how much time you have.
If you want a fast application and you have plenty of time, I would suggest going with the C/C++ language and the Win32 API since this combination won't have as much overhead as Java and any other Java GUI library.
If you don't have that much time and hate Java as much as I do , I would recommend C++ and the Qt Toolkit which is a powerful combination for fast GUI development even though it has some overhead.

Good luck!
  #7  
Old 25-Feb-2008, 08:21
george135 george135 is offline
New Member
 
Join Date: Jan 2008
Posts: 10
george135 is an unknown quantity at this point

Re: C or Java?


For Windows application, Java has nothing to do here.
use C/C++ and Win32 apis
  #8  
Old 25-Feb-2008, 11:10
mikhail mikhail is offline
Junior Member
 
Join Date: Mar 2004
Location: Dublin, Ireland
Posts: 73
mikhail is on a distinguished road

Re: C or Java?


Quote:
Originally Posted by george135
For Windows application, Java has nothing to do here.
use C/C++ and Win32 apis
Just out of curiosity, when would you use Java?
  #9  
Old 29-Feb-2008, 11:49
crystalattice's Avatar
crystalattice crystalattice is offline
Flame War Instigator
 
Join Date: Apr 2004
Location: San Diego
Posts: 1,534
crystalattice is just really nicecrystalattice is just really nicecrystalattice is just really nicecrystalattice is just really nicecrystalattice is just really nice

Re: C or Java?


Cross platform apps, most frequently. Otherwise Java is popular for enterprise apps due to the J2EE toolkit. But if your keeping your programs on a single platform, use whatever language you want.
__________________
Common Sense v2.0-Striving to make the world a little bit smarter.
 
 

Recent GIDBlogNARMY by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the equivalent in Java for a Function or Module in VB pengwinz Java Forum 2 17-May-2007 20:02
To post messages / click Buttons of a Java Jar App using code Jun0 C Programming Language 1 06-Jan-2007 14:44
To post messages / click Buttons of a Java Jar App using code Jun0 Java Forum 0 06-Jan-2007 11:14
Java - Just starting haoming Java Forum 1 25-Feb-2006 01:21
Scalability in Java and C++ agx Miscellaneous Programming Forum 7 04-Feb-2006 15:35

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 03:59.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.