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

Popular posts from this blog

c - Compilation of a code: unkown type name string -

java - Bypassing "final local variable defined in an enclosing type" -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -