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

Delphi change the assembly code of a running process -

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

C++ 11 "class" keyword -