combine C with other languages?

This is a discussion on combine C with other languages? within the C Programming forums, part of the General Programming Boards category; I am pretty familiar with C, and would like to be able to produce some nicer gui's for my programs. ...

  1. #1
    Registered User
    Join Date
    Feb 2002
    Posts
    51

    combine C with other languages?

    I am pretty familiar with C, and would like to be able to produce some nicer gui's for my programs. I have worked on a little C++ using the MFC, but would rather not use that to achieve a prettier interface.

    Is it possible to do a front end in Java, and the backend in C. And if so, does anyone have any suggestions on material explaining the process of connecting the two. Also, if I were able to use Java instead of the MFC, would it make the program more platform independent?

    I know that's a lot of questions, thanks for any help/advice.

  2. #2
    geek SilentStrike's Avatar
    Join Date
    Aug 2001
    Location
    NJ
    Posts
    1,141
    This might help.

    http://java.sun.com/docs/books/tutorial/native1.1/

    It will probably be more portable, though still likely a big hassle. You can get portable GUI toolkits that run in C++ (and calling C code from C++ is much eaiser than it is calling C from Java), though, and that would probably be the easiest way to go about it.

    http://www.wxwindows.org/
    Prove you can code in C++ or C# at TopCoder, referrer rrenaud
    Read my livejournal

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Strange loop
    By D@rk_force in forum C++ Programming
    Replies: 22
    Last Post: 12-18-2004, 01:40 PM
  2. Languages dying
    By Zewu in forum A Brief History of Cprogramming.com
    Replies: 31
    Last Post: 07-29-2003, 10:08 AM
  3. Languages
    By KrAzY CrAb in forum A Brief History of Cprogramming.com
    Replies: 23
    Last Post: 02-18-2003, 11:23 AM
  4. Programming Languages
    By DarkViper in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 12-12-2002, 01:28 PM
  5. How can you combine several programming languages?
    By Zewu in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 05-19-2002, 10:15 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21