|
| 14 Mar 2012 07:09 PM |
What is the difference between C++ and Java?
What is more useful for making programs? |
|
|
| Report Abuse |
|
|
myrkos
|
  |
| Joined: 06 Sep 2010 |
| Total Posts: 8072 |
|
| |
|
|
| 14 Mar 2012 07:14 PM |
| which one do you think is easier |
|
|
| Report Abuse |
|
|
|
| 14 Mar 2012 07:14 PM |
| RBX.lua is easier of them all. |
|
|
| Report Abuse |
|
|
|
| 14 Mar 2012 07:16 PM |
| yea i know that. But i cant find a desent game engine for lua. If i cant find a good game engine then i might learn python or something |
|
|
| Report Abuse |
|
|
Bansey
|
  |
| Joined: 16 May 2008 |
| Total Posts: 118 |
|
|
| 15 Mar 2012 12:15 PM |
| May learn Flash, there are some great tutorial about it, and you can use Flash with MySQL and PHP. |
|
|
| Report Abuse |
|
|
|
| 15 Mar 2012 12:20 PM |
If you learn C++, you'll be able to read Java.
I don't know Java at all, but my friend showed me some code with it and I understand 90% of it.
I'd suggest C++ first. |
|
|
| Report Abuse |
|
|
TheMyrco
|
  |
| Joined: 13 Aug 2011 |
| Total Posts: 15105 |
|
|
| 15 Mar 2012 12:36 PM |
Here:
Developing in Java is generally faster. Portability for both C++ and Java are near equality. C++ has more flexibility and power than Java. Knowing C++ makes you know A LOT more about computers and how they work, and you will know more about Java and other languages. If you know Java, then you will add a little knowledge for how computers work, and knowing Java doesn't mean knowing C++, but the other way around; knowing C++ means knowing Java.
So seriously; C++ for power and all, and Java for slightly faster development with less power, flexiblity and such.
I'd go for C++. |
|
|
| Report Abuse |
|
|
| |
|
|
| 31 Mar 2012 08:28 PM |
| the thing is,C++ is focused on windows,Java is universal with all/most Operating Systems,including mobile devices,gaming console,etc... |
|
|
| Report Abuse |
|
|
SDuke524
|
  |
| Joined: 29 Jul 2008 |
| Total Posts: 6267 |
|
| |
|
|
| 31 Mar 2012 08:52 PM |
this is a java hello world program
public class HelloWorld { public static void main(String[] args) { System.out.println("Hello, world!"); } }
heres C++
#include [BEGIN]iostream[END] using namespace std; int main() { cout << "Hello, World!" << endl; return 0; }
which one looks easier?
sorry bout the BEGIN and END thing on the C++ version,cant do the offical way here on the forums |
|
|
| Report Abuse |
|
|
jode6543
|
  |
| Joined: 16 Jun 2009 |
| Total Posts: 5363 |
|
|
| 31 Mar 2012 08:52 PM |
"C++ is focused on windows" That could not be ANY MORE INCORRECT. C++ is completely native, it'll run on anything that has a compiler for it. More so, *nix (aka both Linux and Unix) are built almost entirely from C/C++. Also, don't say "only Windows has a compiler for it", practically EVERYTHING has a compiler for it. And to boost my argument even more: Java was made in C/C++.
I rest my case. |
|
|
| Report Abuse |
|
|
jode6543
|
  |
| Joined: 16 Jun 2009 |
| Total Posts: 5363 |
|
|
| 31 Mar 2012 08:53 PM |
| Also, for your C++ code... Y U POLLUTE GLOBAL NAMESPACE D: |
|
|
| Report Abuse |
|
|
|
| 31 Mar 2012 08:57 PM |
| try to do the coding yourself and post it on the forums.wont work |
|
|
| Report Abuse |
|
|
|
| 31 Mar 2012 08:57 PM |
| I know how to download a free C++, C and any other language cmpiler for free for any system... |
|
|
| Report Abuse |
|
|
|
| 31 Mar 2012 08:58 PM |
| but still java is much easier,java does have syntax from C & C++ but it is much more simplified,i was thinking about learning C++ but it is massively confusing |
|
|
| Report Abuse |
|
|
|
| 31 Mar 2012 08:58 PM |
| CodeBlocks, i think that is the name of the compiler. |
|
|
| Report Abuse |
|
|
|
| 31 Mar 2012 08:59 PM |
| CodeBlocks is an IDE for windows |
|
|
| Report Abuse |
|
|
|
| 31 Mar 2012 08:59 PM |
| I would suggest a website but my other computer crashed and that was the one with the website link and my compiler, this computer sucks. |
|
|
| Report Abuse |
|
|
|
| 31 Mar 2012 09:00 PM |
| This website makes learning C++ easier than learning Javascript. |
|
|
| Report Abuse |
|
|
CLIPSE
|
  |
| Joined: 29 Jan 2010 |
| Total Posts: 9723 |
|
|
| 31 Mar 2012 09:00 PM |
| If you want to make programs for Windows only, learn C#. If you want to program cross-platform learn, preferrably Java, or maybe C++. |
|
|
| Report Abuse |
|
|
jode6543
|
  |
| Joined: 16 Jun 2009 |
| Total Posts: 5363 |
|
|
| 31 Mar 2012 09:00 PM |
Better hello world (C++):
#include < iostream > //remove spaces
int main() { using namespace std; //Bad practice to make the global namespace full of std stuff, put it in main()'s local namespace instead, this was the main edit btw :3 cout << "Hello, World!" << endl; cin.get(); //Wait for enter key before exiting return 0; } |
|
|
| Report Abuse |
|
|
|
| 31 Mar 2012 09:01 PM |
| C++ is probably the best language and could land you a job as a major programmer considering it is the "Gateway" language. |
|
|
| Report Abuse |
|
|
|
| 31 Mar 2012 09:03 PM |
| well everybody on here is just expressing their opinons,Java is my favorite maybe some others too C++ is some others favorite,WHY CANT WE JUST BE FRIENDS? |
|
|
| Report Abuse |
|
|