Posted By: anissyo
Passing array as argument to a function - 08/21/22 09:23
Hello guys,
I just want to know why I can't use an array as an argument in C-lite, I think it's not possible, can someone please tell me if it's supported or not? thanks in advance =)
this code compiles normally :
this code does not compile and returns "syntax error" :
Many thanks
I just want to know why I can't use an array as an argument in C-lite, I think it's not possible, can someone please tell me if it's supported or not? thanks in advance =)
this code compiles normally :
Code
void delete_from_array(int index_to_del){ }
this code does not compile and returns "syntax error" :
Code
void delete_from_array(int index_to_del, float array_to_del_from[]){ }
Many thanks