NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page C, C++, Visual Basic, or Java?

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search
2 members in live chat ~  


Closed Thread
 
LinkBack Thread Tools
Old 07-15-2005, 07:32 AM THREAD STARTER               #1 (permalink)
Senior Member
 
thetzfreak's Avatar
Join Date: Nov 2004
Posts: 1,129
thetzfreak is just really nicethetzfreak is just really nicethetzfreak is just really nicethetzfreak is just really nice
 



C, C++, Visual Basic, or Java?


Hey, guys! You might know this already, but I've been learning some programming lately (with AutoIt), but it's not a top-of-the-line programming language. Right now, I am VERY interested to get some real programming knowledge to make some REAL crazy stuff, but I don't know which language to learn. I want you guys helping me out on choosing. And to do this, I have some questions.

What is the difference between C and C++? Are they any good to learn? Maybe to choose which programming language I want depends on what type of programming I'm going to do. If so, what are the main uses for each language? I'm really interested in making real professional programs/tools in the future, like so many found on download.com, and I'm not that interested in making games.

I also heard from one friend of mine that he tried a little Visual Basic, and that it was REALLY bad to learn, that it was like trash. There were too many unnecessary and extra things to put in the code. He said he heard from college students that VB and C++ weren't really good, and that if I wanted to do some REAL programming, go on to Java.

So, what are your thoughts for all of these languages? There are some languages that I missed, I think, but they're not that popular.
????: NamePros.com http://www.namepros.com/programming/106829-c-c-visual-basic-or-java.html

*This thread was posted using the NEW NamePros Thread Maker*
thetzfreak is offline  
Old 07-15-2005, 07:46 AM   #2 (permalink)
Professional Monkey
 
Amnezia's Avatar
Join Date: Jul 2005
Location: Escaped from the zoo
Posts: 907
Amnezia has a spectacular aura aboutAmnezia has a spectacular aura about
 


Cancer Survivorship Save a Life
Learn C and then Java, or if you cant be bothered to learn C then just do Java. Visual basic isnt hard to learn at all, its a very interface orientated language. If your friend thinks that VB is unecessarily fussy tell him to learn C, you have to define EVERYTHING! Once you've got a good knowlegde of C most languages are pretty easy to pick up.
__________________
Webmaster Words
Amnezia is offline  
Old 07-15-2005, 07:58 AM THREAD STARTER               #3 (permalink)
Senior Member
 
thetzfreak's Avatar
Join Date: Nov 2004
Posts: 1,129
thetzfreak is just really nicethetzfreak is just really nicethetzfreak is just really nicethetzfreak is just really nice
 



Wow, thanks a lot for that! That really helped! But also, since you were talking about C, what is the difference between C and C++?
thetzfreak is offline  
Old 07-15-2005, 08:05 AM   #4 (permalink)
Professional Monkey
 
Amnezia's Avatar
Join Date: Jul 2005
Location: Escaped from the zoo
Posts: 907
Amnezia has a spectacular aura aboutAmnezia has a spectacular aura about
 


Cancer Survivorship Save a Life
I never really learnt C++ I think its better for creating GUIs than C. I use java for every thing now, i prefer it to C.
__________________
Webmaster Words
Amnezia is offline  
Old 07-15-2005, 11:49 AM   #5 (permalink)
Senior Member
Join Date: Apr 2005
Location: Joliet, Illinois
Posts: 1,177
RageD is a splendid one to beholdRageD is a splendid one to beholdRageD is a splendid one to beholdRageD is a splendid one to beholdRageD is a splendid one to beholdRageD is a splendid one to beholdRageD is a splendid one to beholdRageD is a splendid one to behold
 


Child Abuse
I use C & C++ & never really learned VB... But how much does the compiler for VB cost, & where can I find it?

-Thanks

-RageD

btw I dont know the big difference between C & C++, but C++ is better for Windows API & such...
RageD is offline  
Old 07-15-2005, 12:01 PM   #6 (permalink)
Account Suspended
 
GeneCosta's Avatar
Join Date: Jun 2005
Location: Dallas, Texas
Posts: 963
GeneCosta is a jewel in the roughGeneCosta is a jewel in the roughGeneCosta is a jewel in the rough
 



C++ or Visual Basic is the best, in my opinion. Java is pretty hard to work around, and I've rarely seen Java programs that match Visual Basic/C/C++ programs.
GeneCosta is offline  
Old 07-15-2005, 12:55 PM THREAD STARTER               #7 (permalink)
Senior Member
 
thetzfreak's Avatar
Join Date: Nov 2004
Posts: 1,129
thetzfreak is just really nicethetzfreak is just really nicethetzfreak is just really nicethetzfreak is just really nice
 



Hehe, you guys are saying that "VB or C++" would be the best, but why? Easy to use? Also, are they both able to make the same things? Is one of them better for one type of program, while another for another type? Maybe they can be used for the exact same thing...

Also, since I'm kinda new to all these languages, I want to know how to actually write programs with them. Do I need to buy a special program for each one? I think I know that you have to buy a program for VB, but what about C++? I need to buy a program for it? And same for Java?

Thanks a lot for your time guys.
thetzfreak is offline  
Old 07-15-2005, 06:55 PM   #8 (permalink)
 
BillyConnite's Avatar
Join Date: Jul 2005
Location: Coffs H, Australia
Posts: 3,456
BillyConnite has a reputation beyond reputeBillyConnite has a reputation beyond reputeBillyConnite has a reputation beyond reputeBillyConnite has a reputation beyond reputeBillyConnite has a reputation beyond reputeBillyConnite has a reputation beyond reputeBillyConnite has a reputation beyond reputeBillyConnite has a reputation beyond reputeBillyConnite has a reputation beyond reputeBillyConnite has a reputation beyond reputeBillyConnite has a reputation beyond repute
 


Wildlife Parkinson's Disease Parkinson's Disease
G'day thetzfreak,

IMHO you should learn C++... VB is VERY limited compared to other programming languages and also has some dependencie problems. C++ is a great windows based native code that'll allow you to do pretty much anything you want to do on a computer running windows.

I have learned Visual Basic to its full extent and i can tell you that unless you want to make a pretty primitive program, go with something else like C or C++.

VB is EASY AS ANYTHING to learn, almost like talking to another person lol.
????: NamePros.com http://www.namepros.com/showthread.php?t=106829

C++ is harder but will give you ten thousand times that amount of control you'll need.

C++ has the capabilities to make all those very expensive programs out there and 3d games, burning software etc etc. BUT not to say that its easy, youll hav a lot of work to do to get that far . VB will not allow you to do that at all.

Hope that helps,
Billy.
BillyConnite is offline  
Old 07-15-2005, 07:36 PM   #9 (permalink)
NamePros Member
 
ignat's Avatar
Join Date: Jul 2005
Location: Honolulu, Hawaii
Posts: 71
ignat is an unknown quantity at this point
 



I've been programming C, C++, and Java. In my personal oppinion, Java will soon become absolete and C and C++ are pretty rough to get the gyst of at first. If you want to make a powerful web or desktop application with little coding, great-looking interface, try C#. Microsoft's .NET is becomming pretty popular nowadays. You can get the C# Beta release here: http://lab.msdn.microsoft.com/vs2005/get/ for free. On the other hand if you'd have to chose between VB, C, and C++ go with VB. Hope this helps.
__________________
SEO Blog

SEO Bookstore
ignat is offline  
Old 07-15-2005, 10:50 PM   #10 (permalink)
NamePros Regular
 
moondog's Avatar
Join Date: Jun 2004
Posts: 563
moondog is a name known to allmoondog is a name known to allmoondog is a name known to allmoondog is a name known to allmoondog is a name known to allmoondog is a name known to allmoondog is a name known to allmoondog is a name known to all
 



I know all four languages (plus a few more), and here is my 2 cents.

VB is what is called a "Rapid Application Development Language".

Basic is a fairly easy language to learn. The Visual part just refers to a lot of out of the box GUI controls like list boxes, command buttons, etc.

VB is pretty easy to learn and a nice language to start with to learn.

C is powerful, but outdated. C is used a lot on Unix / Linux systems.
????: NamePros.com http://www.namepros.com/showthread.php?t=106829

C++ is more GUI-oriented, plus C++ makes a lot more use of object-oriented programming (OOP).


Which one to learn depends on your objectives. If you are not comfortable in your coding ability, then I would recommend Visual Basic. You can create nice Windows applications in Visual Basic, but it does have limitations. If you want to start getting fancy with VB and interacting with databases and whatnot, it can get tricky. However, VB is a good language to get your feet wet with. It will introduce you to common programming techniques that are valuable across any coding language. The only real practical places where VB is used is in an office setting when a company needs an application developed for in-house use. I do not see a lot of demand for VB coders, nor do I see a lot of code distributed that is written in VB.

As for C / C++ / Java, I would not take any of these on as a first language. One of my professors once said of C: "If you want to hang yourself, C will not only let you, but it will make sure everybody is there to watch." This is true.

C/C++ can be difficult to master. There are a lot of advanced concepts that need mastered before you can move on to a language like Java. Java is an object-oriented coding language (OOP). OOP required a solid base of knowledge before you can grasp the concepts (normally).

As for which to go with first, I would recommend VB, then C. If you want to skip VB, then go to C. I would not recommend jumping straight to C++ or Java until you have done C. Also, once you know C, there are a LOT of similar languages that you can pick up easily such as JavaScript, PERL, PHP, and such. You can see how a lot of languages were derived from each other.


Happy coding.

-Bob
__________________
Want a way to monitor your website against hacking? Check out CrossCheck.net
moondog is offline  
Old 07-16-2005, 04:08 PM THREAD STARTER               #11 (permalink)
Senior Member
 
thetzfreak's Avatar
Join Date: Nov 2004
Posts: 1,129
thetzfreak is just really nicethetzfreak is just really nicethetzfreak is just really nicethetzfreak is just really nice
 



Wow, thanks a lot guys, for all of that! That really made me think hard! But, I've come to my conclusions of what I want to do.

I talked to my dad about it, and he has been a programmer since... a long time ago. He is REALLY professional at it. Unfortunately, he went out of the programming business 2 years ago Anyway, here is what I learned (and this can help in your decisions, too).

He has learned all of these languages I mentioned and here is what he thinks:
Visual Basic is the best one to start with (like some of you said). It is the simplest to learn, but is very, VERY limited to what it can do. However, if one has learned VB, it is the best to go on to different languages; it's a great "starter."

Java - The BEST programming language out there! He said that it does not have ANY limits whatsoever. It is not that hard, and can be used for linux/unix and windows. He was doing some projects for companies ALONE! He said most people have a couple or more to do something, but in his case, using Java was the best thing he could have done. Plus, his work was done at more than 400% the time that it would take to do it with C++.

C++/C = trash. The WORST programming languages out there. He first was learning C++, and he said that it was nearly IMPOSSIBLE to use them. There were bugs EVERYwhere, and all real programmers knew that. People spent days/weeks/even month just searching for all the bugs that were in there. He said that THAT project which he did with Java would have taken literally ten times longer to make (and this isn't just his opinion; EVERY professional programmer he worked with thought the same).
????: NamePros.com http://www.namepros.com/showthread.php?t=106829

It turns out that people fed up with C++ went out of their way to make Java, and they did a wonderful job. And, of course, they made it compatible with linux.

So, my final decision is: Start with VB, then go on to Java. Everything else sucks
thetzfreak is offline  
Old 07-16-2005, 05:48 PM   #12 (permalink)
NamePros Member
 
ignat's Avatar
Join Date: Jul 2005
Location: Honolulu, Hawaii
Posts: 71
ignat is an unknown quantity at this point
 



You can't really say that everything else sucks just because it's harder. Software written properly in C++ operates WAY faster than Java could ever handle. If you are a beginner, Java is a good choice for small porams or games, but if you plan to be serious about programming C++ has no equals. It's the Everest of programming languages. Powerful, but tough to conquer.
__________________
SEO Blog

SEO Bookstore
ignat is offline  
Old 07-16-2005, 06:33 PM THREAD STARTER               #13 (permalink)
Senior Member
 
thetzfreak's Avatar
Join Date: Nov 2004
Posts: 1,129
thetzfreak is just really nicethetzfreak is just really nicethetzfreak is just really nicethetzfreak is just really nice
 



Quote:
You can't really say that everything else sucks just because it's harder. Software written properly in C++ operates WAY faster than Java could ever handle. If you are a beginner, Java is a good choice for small porams or games, but if you plan to be serious about programming C++ has no equals. It's the Everest of programming languages. Powerful, but tough to conquer.
No - I completely dissagree with you, no offense.
????: NamePros.com http://www.namepros.com/showthread.php?t=106829

First of all, I didn't say C++ was harder, I said it has too many faults that cause too many problems.

Second of all, Java is made for anything C++ can do; they are both equal to what they can do (which is a LOT). However, you can do it with Java MUCH easier and MUCH faster. My dad had them both tried out, along with his friends and a lot of other people that agree. He said he completed one project literally ten times as fast as if he would have done it with C++. And, he wasn't making some small little program... he was doing some serious work for a real-time company. And my dad doesn't make this stuff up either lol.
thetzfreak is offline  
Old 07-16-2005, 06:34 PM   #14 (permalink)
Senior Member
 
majinbuu1023's Avatar
Join Date: Jan 2005
Location: New Zealand
Posts: 3,746
majinbuu1023 has much to be proud ofmajinbuu1023 has much to be proud ofmajinbuu1023 has much to be proud ofmajinbuu1023 has much to be proud ofmajinbuu1023 has much to be proud ofmajinbuu1023 has much to be proud ofmajinbuu1023 has much to be proud ofmajinbuu1023 has much to be proud of
 



can you make programs with Java or just web apps?
I am learning VB atm but need SP2 to use it so I will download that
majinbuu1023 is offline  
Old 07-16-2005, 06:35 PM THREAD STARTER               #15 (permalink)
Senior Member
 
thetzfreak's Avatar
Join Date: Nov 2004
Posts: 1,129
thetzfreak is just really nicethetzfreak is just really nicethetzfreak is just really nicethetzfreak is just really nice
 



Quote:
can you make programs with Java or just web apps?
????: NamePros.com http://www.namepros.com/showthread.php?t=106829
I am learning VB atm but need SP2 to use it so I will download that
Java is used for both internet and programs. What my dad was doing wasn't anything for internet... C++ and Java can both make some serious stuff... (but I think Java can do MUCH more )
thetzfreak is offline  
Old 07-16-2005, 09:45 PM   #16 (permalink)
Senior Member
 
majinbuu1023's Avatar
Join Date: Jan 2005
Location: New Zealand
Posts: 3,746
majinbuu1023 has much to be proud ofmajinbuu1023 has much to be proud ofmajinbuu1023 has much to be proud ofmajinbuu1023 has much to be proud ofmajinbuu1023 has much to be proud ofmajinbuu1023 has much to be proud ofmajinbuu1023 has much to be proud ofmajinbuu1023 has much to be proud of
 



where can I get Visual Basic? and where can I learn to make Java? and what files are needed for Java etc,etc...

anyways thetzfreak you got me excited.. what software(S) did your dad make?

cheers
majinbuu1023 is offline  
Old 07-16-2005, 09:47 PM   #17 (permalink)
NamePros Member
 
ignat's Avatar
Join Date: Jul 2005
Location: Honolulu, Hawaii
Posts: 71
ignat is an unknown quantity at this point
 



Originally Posted by thetzfreak
No - I completely dissagree with you, no offense.

First of all, I didn't say C++ was harder, I said it has too many faults that cause too many problems.

Second of all, Java is made for anything C++ can do; they are both equal to what they can do (which is a LOT). However, you can do it with Java MUCH easier and MUCH faster. My dad had them both tried out, along with his friends and a lot of other people that agree. He said he completed one project literally ten times as fast as if he would have done it with C++. And, he wasn't making some small little program... he was doing some serious work for a real-time company. And my dad doesn't make this stuff up either lol.
I guess this can lead to one of those never ending arguments about which programming language is better. The best thing to do is for you to try and play around with languages so that you can formulate your own healthy oppinion on which one fits your needs best. So go ahead and dabble. Maybe someday you'll learn to love C++ the way i do and then the world is yours to code. And trust me if Java could do much more than C++, Windows, Visual Studio and all other goodies would be written in it. They are not though
__________________
SEO Blog

SEO Bookstore
ignat is offline  
Old 07-17-2005, 04:45 AM   #18 (permalink)
NamePros Member
Join Date: Dec 2004
Posts: 25
Dead Eye is an unknown quantity at this point
 



Im only just getting into C++ but it seems that has A LOT of power, it just takes a long time to code being that you need to define everything. VB I never really got along with, but I am deffiantely thinking about going back to it.
????: NamePros.com http://www.namepros.com/showthread.php?t=106829

Java went the same way as VB, I had no real use for it and couldnt see its advantages (and still cant really). PHP was always best for me, since I do a lot more Web Based programming than anything else.

I think ill have to see what Java is like, then come back and compare it to C++. As for C, ive been told its a lot better to learn C++. If you learn C and want to move on to C++ you have to 'unlearn' everything you know and start from scratch, whereas C++ can do almost everything C can do (as far as I know).
Dead Eye is offline  
Old 07-17-2005, 08:09 AM THREAD STARTER               #19 (permalink)
Senior Member
 
thetzfreak's Avatar
Join Date: Nov 2004
Posts: 1,129
thetzfreak is just really nicethetzfreak is just really nicethetzfreak is just really nicethetzfreak is just really nice
 



Originally Posted by ignat
I guess this can lead to one of those never ending arguments about which programming language is better. The best thing to do is for you to try and play around with languages so that you can formulate your own healthy oppinion on which one fits your needs best. So go ahead and dabble. Maybe someday you'll learn to love C++ the way i do and then the world is yours to code. And trust me if Java could do much more than C++, Windows, Visual Studio and all other goodies would be written in it. They are not though
Many things are written in Java
????: NamePros.com http://www.namepros.com/showthread.php?t=106829
Im only just getting into C++ but it seems that has A LOT of power, it just takes a long time to code being that you need to define everything. VB I never really got along with, but I am deffiantely thinking about going back to it.

Quote:
Java went the same way as VB, I had no real use for it and couldnt see its advantages (and still cant really). PHP was always best for me, since I do a lot more Web Based programming than anything else.

I think ill have to see what Java is like, then come back and compare it to C++. As for C, ive been told its a lot better to learn C++. If you learn C and want to move on to C++ you have to 'unlearn' everything you know and start from scratch, whereas C++ can do almost everything C can do (as far as I know).
Yep, you should go to Java Hehe, but I'm still gonna try everything out, so I'll see how it goes in my own opinion. ignat is right on that point

Originally Posted by majinbuu1023
where can I get Visual Basic? and where can I learn to make Java? and what files are needed for Java etc,etc...
????: NamePros.com http://www.namepros.com/showthread.php?t=106829

anyways thetzfreak you got me excited.. what software(S) did your dad make?

cheers
They are offering a free beta version of Virtual Studio at the microsoft website. Or, you can can just one language from the pack like I did I just got the express version of visual basic 2005. Check it out here:
http://lab.msdn.microsoft.com/vs2005/

Just search the internet to learn java I'm not quite there yet hehe... but my dad said something about using the Java Virtual Machine. I'm downloading it right now

Well, my dad did a LOT of project, anywhere from getting quieries from databases, all the way to a huge project of creating a web-based system to control DSL service for a telecom company. All the company had to do was sit at any of their computers and control the DSL system.

Hope that helped

EDIT: was downloading the wrong thing... it turns out something weird happened to java virtual machine... don't know what. Just search for "java compiler" on google.
Last edited by thetzfreak; 07-17-2005 at 08:42 AM.
thetzfreak is offline  
Old 07-17-2005, 11:35 AM   #20 (permalink)
NamePros Member
 
ignat's Avatar
Join Date: Jul 2005
Location: Honolulu, Hawaii
Posts: 71
ignat is an unknown quantity at this point
 



JCreator is your best bet for a java IDE and compiler. It's free for hobbiests and already comes with the latest Java SDK. All you have to do is run JCreator install and it will do everything else. Just google JCreator to get to their homepage. C++ RULES
__________________
SEO Blog

SEO Bookstore
ignat is offline  
Old 07-17-2005, 12:00 PM   #21 (permalink)
NamePros Member
Join Date: Dec 2004
Posts: 25
Dead Eye is an unknown quantity at this point
 



Well I already have the SDK for Java and an IDE Compiler for it as well, so thanks anyways
Dead Eye is offline  
Old 07-17-2005, 06:08 PM   #22 (permalink)
Senior Member
Join Date: Apr 2005
Location: Joliet, Illinois
Posts: 1,177
RageD is a splendid one to beholdRageD is a splendid one to beholdRageD is a splendid one to beholdRageD is a splendid one to beholdRageD is a splendid one to beholdRageD is a splendid one to beholdRageD is a splendid one to beholdRageD is a splendid one to behold
 


Child Abuse
Oh yeah, if you have the extra cash, you can get from http://msdn.microsoft.com Visual Studio for C#... C# is easy, but the latest REQUIRES users to have .NET Framework 2.0 Beta 2(Latest)

-RageD
RageD is offline  
Old 07-17-2005, 09:30 PM   #23 (permalink)
Senior Member
 
majinbuu1023's Avatar
Join Date: Jan 2005
Location: New Zealand
Posts: 3,746
majinbuu1023 has much to be proud ofmajinbuu1023 has much to be proud ofmajinbuu1023 has much to be proud ofmajinbuu1023 has much to be proud ofmajinbuu1023 has much to be proud ofmajinbuu1023 has much to be proud ofmajinbuu1023 has much to be proud ofmajinbuu1023 has much to be proud of
 



I wanna learn java.. what err BIG software was made with java? eg. photoshop

cheers
majinbuu1023 is offline  
Old 07-17-2005, 09:33 PM   #24 (permalink)
NamePros Member
 
ignat's Avatar
Join Date: Jul 2005
Location: Honolulu, Hawaii
Posts: 71
ignat is an unknown quantity at this point
 



Unfortunately Java doesn't have the operating speed to be used in any BIG software. If processing speed is not very essential, Java is used there. You can make fun games using Java, but nothing like you see in stores.
__________________
SEO Blog

SEO Bookstore
ignat is offline  
Old 07-18-2005, 03:55 AM   #25 (permalink)
New Member
Join Date: Jul 2005
Posts: 3
JCDev is an unknown quantity at this point
 



Java can make big software... Whatever you understand by big: Eclipse IDE, Netbeans and thousands of in-house or commercial business applications. There is a reason why they call it the Cobol of the 21 century. It can also be made fast by the use of a good JIT compiler. You can also compile it to native code(see GNU gjc and excelsior).

But java is big, complex... C++ is even bigger and more complex. You certainly want to start with something simple that motivates you but don't dumbs you down. Forget Visual Basic, MS dump it years ago.

My suggestion is for you to learn Python or Scheme.
__________________
I code therefore I am.
Last edited by JCDev; 07-18-2005 at 04:12 AM.
JCDev is offline  
Closed Thread


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Please appraise, VB related domain names (Visual Basic) zukof Domain Appraisals 5 06-11-2005 11:58 PM
BeliefVsReality.com + 29 others $25 Wolfman Domains For Sale - Fixed Price 1 06-07-2005 11:20 PM
35 domains for 75np each ALL MUST GO!!! Wolfman Domains For Sale - Make Offer 0 05-19-2005 11:10 PM
VB6.us (Visual Basic 6) skyraider Domains For Sale - Make Offer 0 05-18-2005 03:19 AM
need visual basic help aakashvijay Programming 0 03-06-2005 09:11 AM

 
All times are GMT -7. The time now is 12:08 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger