5
Why when I use the declaration char *argv[]
in the int main(int argc,char *argv[])
works, but when I try to use it inside the body of the code with char *argv[];
it doesn’t work?
The error below is returned in the console when compiling.
error: array size missing in 'argv' char *argv[]; ^
How could I use it inside the body of the code?
This really has something to do with JNI?
– Maniero
Yes, I’m trying to implement also within the body of
jint JNI_OnLoad
@mustache– Florida
Good luck making JNI work :D
– Maniero
Vish, so you cut my excitement :D
– Florida
For simple things it’s easy.
– Maniero
Just for the record, this is what I intended to put on JNI, Simple C example of Doing an HTTP POST and consuming the Response, to be executed while carrying the lib, I will search and who knows, with luck, very luck, I manage, give up, ever. =)
– Florida