i have been given a 2-phase compiler containig the lexical phase and the syntax phase as my final year project. for that i need to know how to call a C program from a Java applet using a button called "compile". A little help will make me thankful.
mdew_47
-2
Light Poster
Recommended Answers
Jump to Postuh, if it is already an .exe, i think you can look at this
Jump to Postuh, if it is already an .exe, i think you can look at this
I'm really not sure if the link you provided will be helpful, because in Java you cannot make native …
Jump to PostI'm really not sure if the link you provided will be helpful, because in Java you cannot make native calls to C++ code directly (or any program that has potential access to memory) within an Applet context.
I'm assuming the original poster wants a way to invoke the executable program …
Jump to Postoh, so will this be a stand alone application or an applet, because if it isn't an applet you don't need to work around the security. you just need to invoke the compiler (with the text in the box as a parameter?).
Jump to Postis it already an exe?
All 32 Replies
sciwizeh
62
Posting Pro in Training
Alex Edwards
321
Posting Shark
sciwizeh
62
Posting Pro in Training
mdew_47
-2
Light Poster
sciwizeh
62
Posting Pro in Training
mdew_47
-2
Light Poster
mdew_47
-2
Light Poster
mdew_47
-2
Light Poster
sciwizeh
62
Posting Pro in Training
Alex Edwards
321
Posting Shark
mdew_47
-2
Light Poster
Alex Edwards
321
Posting Shark
sciwizeh
62
Posting Pro in Training
mdew_47
-2
Light Poster
Alex Edwards
321
Posting Shark
sciwizeh
62
Posting Pro in Training
Alex Edwards
321
Posting Shark
sciwizeh
62
Posting Pro in Training
Alex Edwards
321
Posting Shark
mdew_47
-2
Light Poster
mdew_47
-2
Light Poster
sciwizeh
62
Posting Pro in Training
mdew_47
-2
Light Poster
sciwizeh
62
Posting Pro in Training
mdew_47
-2
Light Poster
mdew_47
-2
Light Poster
sciwizeh
62
Posting Pro in Training
mdew_47
-2
Light Poster
mdew_47
-2
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.