|
|
Author |
Message |
juicetoocool17
Group: Members Joined: 20 Mar 2010 Posts: 62 Gold: 6.00

Status: Warn:  Reputation: 0
|
#1 Posted: 25 Mar 2010 02:32 pm Post subject: How odifferent is c++ from java |
|
|
THe first two programming classes I've taken at university are java.
how is C++ in comparison? |
|
Back to top |
|
 |
Nablyudalovka
Group: Banned Joined: 11 Aug 2007 Donor:  Posts: 3990 Gold: Locked
Status: Warn: Banned Reputation: 47

|
#2 Posted: 25 Mar 2010 04:32 pm Post subject: |
|
|
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 |
|
 |
cze
 Group: Members Joined: 03 Apr 2010 Posts: 76 Gold: 1.16

Status: Warn:  Reputation: 1
|
#3 Posted: 03 Apr 2010 01:45 pm Post subject: |
|
|
java is nice for writing IDEs for other languages |
|
Back to top |
|
 |
Deathray
 Group: Members Joined: 14 Oct 2008 Posts: 8470 Gold: 1.30 Clan: Retardacja
Status: Warn:  Reputation: 11
|
#4 Posted: 04 Apr 2010 01:16 pm Post subject: |
|
|
i like python _____________________
 |
 | Warned by Vitan on 04 Apr 2010 03:08 pm. Expires: Expired Reason: Spam |
|
|
Back to top |
|
 |
|
 |
Schoolhacker
 Group: Senior Moderator Joined: 20 Feb 2007 Posts: 9365 Gold: 935.14

Status: Warn:  Reputation: 55

|
#5 Posted: 04 Apr 2010 03:06 pm Post subject: |
|
|
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 |
|
 |
shadius
Group: Members Joined: 12 Apr 2010 Posts: 6 Gold: 3.50
Status: Warn:  Reputation: 0
|
#6 Posted: 12 Apr 2010 10:19 pm Post subject: |
|
|
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 |
|
 |
Flavor
Group: Scammer Joined: 23 Nov 2010 Posts: 241 Gold: Locked
Status: Warn:  Reputation: 2

|
#7 Posted: 26 Nov 2010 09:43 pm Post subject: |
|
|
c++ is messy but it's brilliant |
|
Back to top |
|
 |
KelvinX
Group: Members Joined: 19 Mar 2011 Posts: 16 Gold: 8.00
Status: Warn:  Reputation: 0
|
#8 Posted: 22 Mar 2011 05:29 pm Post subject: |
|
|
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 |
|
 |
AMD
 Group: Members Joined: 23 Oct 2007 Posts: 295 Gold: 165.25

Status: Warn:  Reputation: 6
|
#9 Posted: 23 May 2011 11:24 pm Post subject: |
|
|
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 |
|
 |
|