How to use c/c++ code in JAVA
Answer Posted / jaya prakash
Java Native Interface
is only correct ans.
it provide JNI.H header file.
only use method in java.
then
use the run command
javah -jni classname,
it creates classname.h header cpp file
we produce classname.cpp file
and
use run command
cl /LD classname.cpp
it produces .dll file
then
we compile and run java file
without using these steps u can't compile or run it.it
produces error because the method used in java is not
defined,,,
| Is This Answer Correct ? | 25 Yes | 3 No |
Post New Answer View All Answers
A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(
What is a global variable in c?
How variables are declared in c?
What is a example of a variable?
What does 3 mean in texting?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
What is variable initialization and why is it important?
What is a far pointer in c?
Is c programming hard?
How #define works?
What are c preprocessors?
What is the purpose of sprintf() function?
Write a program on swapping (100, 50)
How do you construct an increment statement or decrement statement in C?
Is return a keyword in c?