Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Is there any article about "port Java code to C++ code"?

Reply
Thread Tools

Is there any article about "port Java code to C++ code"?

 
 
xiebopublic@gmail.com
Guest
Posts: n/a
 
      05-18-2006
Hi,

I am doing a project to port some Java codes to C++ codes. Is there any
article about it? e.g., How to convert Java's interface to C++? C++
class?

Thank you!

Best Regards,
Xie, Bo

 
Reply With Quote
 
 
 
 
asterisc
Guest
Posts: n/a
 
      05-18-2006
> How to convert Java's interface to C++?
A C++ class with pure virtual methods;

For example:
class A
{
virtual void Foo() = 0;
}

This way, you cannot instantiate class A (it act exactly like a java
interface)

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Are there any tools which generates Java code to reading XMLfiles? Arne Vajhøj Java 8 03-26-2010 03:08 AM
Re: Are there any tools which generates Java code to reading XML files? Roedy Green Java 1 03-24-2010 09:35 PM
Any tool to convert java raw code (a la java 1.4) into generics code Royan Java 8 02-15-2008 02:35 PM
501 PIX "deny any any" "allow any any" Any Anybody? Networking Student Cisco 4 11-16-2006 10:40 PM
Is there any best practice for "port Java code to C++ code"? xie bo C++ 1 07-07-2006 02:10 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57