1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Need Help On A topic.

Discussion in 'C' started by Programming_Kills, Dec 6, 2010.

  1. Programming_Kills

    Programming_Kills New Member

    Joined:
    Jun 14, 2010
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    0
    Hi All...
    i am given a project in my school to Code bubble breaker Game .
    but it is strickly recomended to use C as a Core language..
    Means for GUI part someone can use c++ or java but the core of the programming should be in C.

    Can anyone tell me how to do this.
    i dont need source code of my home work but i need help on how to use C and C++ or java together.
    Hoping for someones kind reply.
    Thanks.
    Best Regards.
     
  2. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,012
    Likes Received:
    203
    Trophy Points:
    0
    Occupation:
    Senior Support Engineer
    Location:
    England
    Seems unnecessarily complicated to use two languages for the project.
    C and C++ link together fairly easily (use extern "C" around the C prototypes so that the compiler knows not to mangle the names). C and Java don't work as well together as Java is designed to be platform independent whereas C isn't, so Java will need telling to use a platform-specific extension, and you could put the C routines in a DLL that the Java GUI can use.

    But it would probably be a *lot* easier to write the whole lot in C.
     
  3. livinmanavalan

    livinmanavalan Banned

    Joined:
    Dec 6, 2010
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    0
    hai i am doing forum submission as the part of my seo job. but i am not experienced in this field. so i need help in this field. if you know anything about it please share it with me.
     

Share This Page