search for: n_char

Displaying 1 result from an estimated 1 matches for "n_char".

Did you mean: x_char
2009 Aug 28
1
Calling C funtion from R help Needed
...unction will accept a character and a integer and print them. It is printing some special character instead of input character. Below are the C function, Wrapper code ,R code and R output. Please help me in this issue Thank you in advance C function (Name : checkstr.c) #include<stdio.h> int n_char(char n,int m) { int result; result = 3; //result = strlen(n); printf("the string is %c\n",n); printf("the silly number is %d\n",m); return result; } Wrapper Code (wrapcheckstr.c) #include <stdio.h> #include<string.h> int n_char(char ,int ); void...