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

Discussion in 'C++' started by xiebopublic@gmail.com, May 18, 2006.

  1. Guest

    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
    , May 18, 2006
    #1
    1. Advertising

  2. asterisc Guest

    > 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)
    asterisc, May 18, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. ashu
    Replies:
    7
    Views:
    309
    David Resnick
    Jan 26, 2006
  2. xie bo
    Replies:
    1
    Views:
    345
    Jim Langston
    Jul 7, 2006
  3. tenxian
    Replies:
    3
    Views:
    280
    RedGrittyBrick
    Apr 29, 2008
  4. Eric Danstron

    Are there ANY good forums out there anymore???

    Eric Danstron, Sep 21, 2005, in forum: ASP General
    Replies:
    1
    Views:
    133
    Immediacy
    Sep 22, 2005
  5. Aaron  Rustad
    Replies:
    6
    Views:
    132
    James Britt
    Jul 13, 2005
Loading...

Share This Page