J'ai ca comme erreur ![]()
sketch_test:22: error: declaration of 'foncArg1' as array of functions
String ptr (String str,String *(*foncArg1[]()) ) {
^
C:\Users\Sbran\OneDrive\Documents\Arduino\sketch_test\sketch_test.ino: In function 'void loop()':
sketch_test:20: error: expected ';' before ')' token
ptr(&foncArg1));
^
C:\Users\Sbran\OneDrive\Documents\Arduino\sketch_test\sketch_test.ino: At global scope:
sketch_test:22: error: declaration of 'foncArg1' as array of functions
String ptr (String str,String *(*foncArg1[]()) ) {
^
C:\Users\Sbran\OneDrive\Documents\Arduino\sketch_test\sketch_test.ino: In function 'String ptr(...)':
sketch_test:27: error: 'foncArg' was not declared in this scope
msg = foncArg[a](str,i)
^
sketch_test:27: error: 'a' was not declared in this scope
msg = foncArg[a](str,i)
^
sketch_test:27: error: 'str' was not declared in this scope
msg = foncArg[a](str,i)
^
exit status 1
declaration of 'foncArg1' as array of functions
[code]