generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: C++ and Java

Previous Thread :: Next Thread 
blackhalodude is not online. blackhalodude
Joined: 16 Jun 2010
Total Posts: 412
14 Mar 2012 07:09 PM
What is the difference between C++ and Java?

What is more useful for making programs?
Report Abuse
myrkos is not online. myrkos
Joined: 06 Sep 2010
Total Posts: 8072
14 Mar 2012 07:13 PM
both
Report Abuse
blackhalodude is not online. blackhalodude
Joined: 16 Jun 2010
Total Posts: 412
14 Mar 2012 07:14 PM
which one do you think is easier
Report Abuse
LightedRoblox is not online. LightedRoblox
Joined: 16 Apr 2010
Total Posts: 6235
14 Mar 2012 07:14 PM
RBX.lua is easier of them all.
Report Abuse
blackhalodude is not online. blackhalodude
Joined: 16 Jun 2010
Total Posts: 412
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 is not online. 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
darkkiller5555 is not online. darkkiller5555
Joined: 22 Nov 2009
Total Posts: 6359
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 is not online. 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
blackhalodude is not online. blackhalodude
Joined: 16 Jun 2010
Total Posts: 412
15 Mar 2012 03:52 PM
Ok
Report Abuse
diablosblok is not online. diablosblok
Joined: 04 Mar 2009
Total Posts: 53
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 is not online. SDuke524
Joined: 29 Jul 2008
Total Posts: 6267
31 Mar 2012 08:44 PM
Java is easier to learn.
Report Abuse
diablosblok is not online. diablosblok
Joined: 04 Mar 2009
Total Posts: 53
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 is not online. 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 is not online. 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
diablosblok is not online. diablosblok
Joined: 04 Mar 2009
Total Posts: 53
31 Mar 2012 08:57 PM
try to do the coding yourself and post it on the forums.wont work
Report Abuse
WarMaster109876 is not online. WarMaster109876
Joined: 31 Dec 2009
Total Posts: 270
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
diablosblok is not online. diablosblok
Joined: 04 Mar 2009
Total Posts: 53
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
WarMaster109876 is not online. WarMaster109876
Joined: 31 Dec 2009
Total Posts: 270
31 Mar 2012 08:58 PM
CodeBlocks, i think that is the name of the compiler.
Report Abuse
diablosblok is not online. diablosblok
Joined: 04 Mar 2009
Total Posts: 53
31 Mar 2012 08:59 PM
CodeBlocks is an IDE for windows
Report Abuse
WarMaster109876 is not online. WarMaster109876
Joined: 31 Dec 2009
Total Posts: 270
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
WarMaster109876 is not online. WarMaster109876
Joined: 31 Dec 2009
Total Posts: 270
31 Mar 2012 09:00 PM
This website makes learning C++ easier than learning Javascript.
Report Abuse
CLIPSE is not online. 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 is not online. 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
WarMaster109876 is not online. WarMaster109876
Joined: 31 Dec 2009
Total Posts: 270
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
diablosblok is not online. diablosblok
Joined: 04 Mar 2009
Total Posts: 53
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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image