Play Legend of the Green Dragon Play BNT Play Promisance Play Alien Assault Traders Play Quantum Star Play Some Chess  
   D3jsp RPGRPG   ArcadeArcade   Multiplayer PokerD3Jsp Poker   FAQ/RulesFAQ/Rules  SearchSearch  MemberlistMemberlist   UsergroupsUsergroups   ChatroomLive Chat   Log inLog in   RegisterRegister 

How odifferent is c++ from java

 
Post new topic  Reply to topic  d3jsp Forum Index -> General Chat
View previous topic :: View next topic ::  


Author Message
juicetoocool17


Group: Members
Joined: 20 Mar 2010
Posts: 62
Gold: 6.00


ca.gif

Status:
Warn:
Reputation: 0    



Post#1 Posted: 25 Mar 2010 02:32 pm    Post subject: How odifferent is c++ from java Reply with quote

THe first two programming classes I've taken at university are java.
how is C++ in comparison?
Back to top
View user's profile Send private message
Nablyudalovka


Group: Banned
Joined: 11 Aug 2007
Donor:
Posts: 3990
Gold: Locked


Status:
Warn: Banned
Reputation: 47    


Banned

Post#2 Posted: 25 Mar 2010 04:32 pm    Post subject: Reply with quote

C++ is a fucking mess, stay away from it. All you can do in C++ you can do in C, try that first. Go with Java for the nice object-oriented stuff.
_________________
This user's signature has been disabled
Back to top
View user's profile Send private message
cze


Group: Members
Joined: 03 Apr 2010
Posts: 76
Gold: 1.16


ug.gif

Status:
Warn:
Reputation: 1    



Post#3 Posted: 03 Apr 2010 01:45 pm    Post subject: Reply with quote

java is nice for writing IDEs for other languages
Back to top
View user's profile Send private message
Deathray


Group: Members
Joined: 14 Oct 2008
Posts: 8470
Gold: 1.30
Clan: Retardacja


Status:
Warn:
Reputation: 11    



Post#4 Posted: 04 Apr 2010 01:16 pm    Post subject: Reply with quote

i like python
_____________________

WarningWarned by Vitan on 04 Apr 2010 03:08 pm. Expires: Expired
Reason: Spam
Back to top
View user's profile Send private message


Schoolhacker


Group: Senior Moderator
Joined: 20 Feb 2007
Posts: 9365
Gold: 935.14


ca.gif

Status:
Warn:
Reputation: 55    


<b><font color=Blue>Senior Moderator</font></b>

Post#5 Posted: 04 Apr 2010 03:06 pm    Post subject: Reply with quote

Nablyudalovka wrote:
C++ is a fucking mess, stay away from it. All you can do in C++ you can do in C, try that first. Go with Java for the nice object-oriented stuff.


whats wrong with C++?
its the most useful and important language there is!

java on the other hand is not as useful... it is only used for web stuff...

_____________________
Back to top
View user's profile Send private message
shadius


Group: Members
Joined: 12 Apr 2010
Posts: 6
Gold: 3.50


Status:
Warn:
Reputation: 0    



Post#6 Posted: 12 Apr 2010 10:19 pm    Post subject: Reply with quote

Schoolhacker wrote:
Nablyudalovka wrote:
C++ is a fucking mess, stay away from it. All you can do in C++ you can do in C, try that first. Go with Java for the nice object-oriented stuff.


whats wrong with C++?
its the most useful and important language there is!

java on the other hand is not as useful... it is only used for web stuff...


However, if you're into web design java > c++ however both are very similar
Back to top
View user's profile Send private message
Flavor


Group: Scammer
Joined: 23 Nov 2010
Posts: 241
Gold: Locked


Status:
Warn:
Reputation: 2    


<b><font color=red>Scammer</font></b>

Post#7 Posted: 26 Nov 2010 09:43 pm    Post subject: Reply with quote

c++ is messy but it's brilliant
Back to top
View user's profile Send private message
KelvinX


Group: Members
Joined: 19 Mar 2011
Posts: 16
Gold: 8.00


Status:
Warn:
Reputation: 0    



Post#8 Posted: 22 Mar 2011 05:29 pm    Post subject: Reply with quote

a big difference is that Java uses objects and implicit pointers for everything whereas C++ doesn't

if you're going for C++, pointers are gonna kill you, also there's no garbage collector in C++ so you have to free the memory yourself

also C++ doesn't do any boundary checking so it doesn't care if you do something like this:
int a[ ] = {1,2,3};
a[-1] = 1;
a[5] = 2;

it puts more work on the programmer than the compiler


Last edited by KelvinX on 22 Mar 2011 05:31 pm; edited 2 times in total
Back to top
View user's profile Send private message
AMD


Group: Members
Joined: 23 Oct 2007
Posts: 295
Gold: 165.25


ca.gif

Status:
Warn:
Reputation: 6    



Post#9 Posted: 23 May 2011 11:24 pm    Post subject: Reply with quote

well actually the jvm that java runs on is written in C++ but Java is a nice language to learn as a starting language. It has some powerful features and it is more likely that something you write in java will work nicely.
_____________________

Back to top
View user's profile Send private message
Display posts from previous:   
1 Members: Guest
Post new topic  Reply to topic  d3jsp Forum Index -> General Chat All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum



D3jsp is proudly powered by phpBB © 2.0
Theme and Forum by tramway