This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
salvin francis wrote:just out of curiosity, does it work for chars ?
I mean you have a char array in java, you sent it to C program which changes this array,
is it reflected back into the java program ?
yes it's works just fine
in c++ code I just copy chars from my function result to inout chararray parameter and it's is changes char back in Java..
but there is a small problem only... I must give the size of array in java which in c++ is not nessery...
Du you know how to define dynamic array in Java something like char array = new char ?
(is it posible without char array = new char[ARRAY_SIZE]) )