Wrox Programmer Forums
|
C++ Programming General discussions for the C++ language. For questions specific to Microsoft's Visual C++ variant, see the Visual C++ forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C++ Programming section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old November 7th, 2005, 01:33 PM
Registered User
 
Join Date: Nov 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to polakbob
Default C++/Java

I'm a veteran C++ coder who's working with another college student who does java. We're working on a small game that runs across the internet. He's doing the network based stuff, I'm doing the graphics based stuff. I hate Java pretty badly though and would love to find a way to do the gui in C++ and then implement it into the program. Some people I've spoken with say that it is possible but how? If anyone could help it would be greatly appreciated!

Reply With Quote
  #2 (permalink)  
Old November 7th, 2005, 07:53 PM
Authorized User
 
Join Date: Oct 2004
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Can you be more specific about how you're dividing tasks between C and Java? If there's a server running in Java and you want the entire client to be C++, you could use something like SOAP to exchange data between the two languages. If you want the client itself to be some sort of Java/C++ hybrid, you'd probably want to use JNDI to tie the languages together. But that might be too much overhead for a game.

----
Scott J. Kleper
Author, "Professional C++"
(Wrox, 2005)
Reply With Quote
  #3 (permalink)  
Old December 18th, 2005, 03:09 AM
Registered User
 
Join Date: Dec 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

¹þ¹þ żÁ½ÖÖÓïÑÔ¶¼»áÒ»µãµã µ«ÊDz»¾«Í¨ ºÇºÇ£¡

Reply With Quote
  #4 (permalink)  
Old December 18th, 2005, 09:21 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 453
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to Ankur_Verma Send a message via MSN to Ankur_Verma
Default



Missed the pun wjcobss, can you explain it in english.
Reply With Quote
  #5 (permalink)  
Old December 20th, 2005, 01:39 AM
Authorized User
 
Join Date: Nov 2005
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If you want to go with GUI in C++...u have many options like
>GTK
>eFLTK
>Fast Light Toolkit
and many others

Reply With Quote
  #6 (permalink)  
Old December 20th, 2005, 05:48 AM
Registered User
 
Join Date: Dec 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by Ankur_Verma



Missed the pun wjcobss, can you explain it in english.

haha! I known so much of the both program languages,
but I don't master each one .

I  like  program
Reply With Quote





Similar Threads
Thread Thread Starter Forum Replies Last Post
Root Cause:java.lang.NoSuchMethodError: java.util. anees81 JSP Basics 3 March 1st, 2011 08:55 AM
java.lang.OutOfMemoryError: Java heap space meetkotresh J2EE 1 February 2nd, 2008 01:52 AM
Java Media Framework(I am new to java) amirdiwan4eva Pro Java 4 July 12th, 2006 04:50 AM
Java Code - Wrox - Beginning JAVA - Ivor Horton ponguru Java Databases 3 May 18th, 2006 12:30 PM
Java vs Java Script functions joemorrison74 J2EE 0 July 6th, 2005 04:28 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.