Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   passing parameters from a function to other program 's function ! (http://www.go4expert.com/forums/passing-parameters-function-program-s-t9195/)

kait992004 9Mar2008 01:05

passing parameters from a function to other program 's function !
 
what shud i do if i want to send more than 2 parameters from a function which is not in C language to a program in C language which shud give me the output !! :confused:

kait992004 10Mar2008 23:07

Re: passing parameters from a function to other program 's function !
 
no experts available ?? :mad:

asadullah.ansari 11Mar2008 10:41

Re: passing parameters from a function to other program 's function !
 
You can call C function by other language svery easily. But First you have to from which language you want to call C function.

You can call C function from JAVA by using features " JNI" of java.
detail : http://www.mactech.com/articles/mact...ava/index.html
http://www.java.sun.com/docs/books/t...tep/index.html

You can call C function from .net also by interop.
Detail you can see msdn . Code also there.

kait992004 11Mar2008 15:47

Re: passing parameters from a function to other program 's function !
 
what if i want to write in my own language like

suppose if i just write CUBE ( side , angle_rotation ,etc ....) and i want this unknown language's parameters being accepted by the C program which would actually render the image i want ...i have the code available in C for cube ....i have defined the syntax of my language and is aiming to make a compiler for the same ...so this is wat i simportant to be solved !!


All times are GMT +5.5. The time now is 23:44.