C++ ProgrammingGeneral 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
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!
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)