Robotc (c modified) how to pass a char array variable -
Robotc (c modified) how to pass a char array variable -
my question is possible pass array variable in robotc functions?
here attempt:
void writetolog(char message) { printf("success"); } char h[10]=""; writetolog(h)
n.b.robotc robotics programming language c-based programming language.
i not familiar robotc. in c, possible pass array variable functions. have alter writetolog function definition to
void writetolog(char *message) { ... }
c arrays
Comments
Post a Comment