Go Back   CodingForums.com > :: Server side development > Java and JSP

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 04-18-2011, 08:48 AM   PM User | #1
klagartin
New to the CF scene

 
Join Date: Mar 2011
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
klagartin is an unknown quantity at this point
new JAVA programming with C++ relatability question.

I am currently a CS major at a university that teaches JAVA as its introductory class. Next year, I have to switch to a university closer to home. This university teaches c++ as its introductory language.

I am wondering how tough you think the java-->C++ transition will go.

Also, any reference/article/book/pdf/webpage that is very thorough in its explanation of the differences would be nice.

Especially if its talking in relation to the exact java-->c++ switch.

Thanks for your help.
klagartin is offline   Reply With Quote
Old 04-18-2011, 08:50 AM   PM User | #2
Philip M
Supreme Master coder!

 
Philip M's Avatar
 
Join Date: Jun 2002
Location: London, England
Posts: 17,044
Thanks: 197
Thanked 2,412 Times in 2,390 Posts
Philip M has a spectacular aura aboutPhilip M has a spectacular aura aboutPhilip M has a spectacular aura about
This is the JavaScript forum. Java and Javascript are entirely different programming languages, in spite of the confusingly similar names. Rather like Austria and Australia!
Philip M is offline   Reply With Quote
Users who have thanked Philip M for this post:
klagartin (04-18-2011)
Old 04-18-2011, 08:58 AM   PM User | #3
klagartin
New to the CF scene

 
Join Date: Mar 2011
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
klagartin is an unknown quantity at this point
Oops. Sorry, Im obviously a novice.
klagartin is offline   Reply With Quote
Old 04-18-2011, 03:24 PM   PM User | #4
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,662
Thanks: 4
Thanked 2,452 Times in 2,421 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
You should find the conversion fairly simple. C++ requires a little more effort that Java does under the hood for you like garbage collection and memory allocations. Java has a few benefits over C++ in the sense of ease, garbage collection and multiplatform come to mind. C++ is more powerful though, you can template from multiple classes which Java cannot.
__________________
As of PHP 5.5, the MySQL library has been officially deprecated. It is recommended to move to either MySQLi or PDO libraries for your mysql connectivity. See here for help choosing which interface you prefer: http://php.net/manual/en/mysqlinfo.api.choosing.php
Fou-Lu is offline   Reply With Quote
Old 04-18-2011, 08:08 PM   PM User | #5
Aradon
Moderator-san


 
Aradon's Avatar
 
Join Date: Jun 2005
Location: USA
Posts: 734
Thanks: 0
Thanked 20 Times in 19 Posts
Aradon is on a distinguished road
I did Java for 7 years before switching to C++ for the past 3. The transition is pretty easy as long as you're willing to learn ab it more about memory management.

For me the switch was easy once I got my head around a bit of the complexities of C++. What I did to learn was to implement a bunch of data structures in C++, Linked Lists, hash tables, binary search tree's etc.

It got me up to speed quickly.
__________________
"To iterate is human, to recurse divine." -L. Peter Deutsch
Aradon 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 09:05 AM.


Advertisement
Log in to turn off these ads.