CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2011

    Question compile c in java

    hi every body
    i'm working on a project and i need to compile a c file in java,
    my inputs are a c file and a file for its inputs and finaly i'll get an output file from the c program,
    its some how like acm judge,
    i dont know how talk to the c compiler?!?! and i also dont kow what to search for exactly,
    please give me a guide,

  2. #2
    Join Date
    May 2006

    Re: compile c in java

    If the c compiler has a command line interface you can use java.lang.ProcessBuilder.
    Posting code? Use code tags like this: [code]...Your code here...[/code]
    Click here for examples of Java Code

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.