• Advertisement

Archived

This topic is now archived and is closed to further replies.

Java, C++, and Windows programming.

This topic is 6550 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''m not sure how to phrase this , but... I''m second year comp sci student, and i wish it program games for windows. At the moment I am learning Java in one of my classes, which seems pretty straight forward at the moment, and I was wondering if C++ is simular classes wise to Java, as I would prefer to use C++ when programming. I was also wondering which people think is better for programming in windows(I''m not worried about portablitiy at this point). I think that covers it, Thanks

Share this post


Link to post
Share on other sites
Advertisement
Java is very close to C++, syntax wise. There''s a few more additionaly concepts such as pointers, but overall, it''s pretty easy to move from one to another.

By far it''s easier to program Win32 in C++ rather than Java. Especially as you''d need a special compiler to turn the Java code into something that will execute without the JVM.

Share this post


Link to post
Share on other sites
Hey, SiCrane, I was wondering about that. What compiler can be used to make windows .exes out of Java code?

Share this post


Link to post
Share on other sites
Visual J++ 6.0 builds .exe''s

"Why am I the only one on the away team with a red shirt!?"

BASSOFeeSH
><>

Share this post


Link to post
Share on other sites
As far as I know Visual Studio (at least 6) and symantec Visual Cafe prof edition support converting class files to executables. But I''m sure there are more compact utilities.

Jaap Suter

Share this post


Link to post
Share on other sites
I don''t think that Visual J++ can build .exes, at least I never managed to be able to do it.
Symantec''s Visual Cafe can definately do it though. There''s also a Cygwin port of gcc that can do it.

Share this post


Link to post
Share on other sites

  • Advertisement