Encountered the compile error with these examples below, the page 78, on 0.5.Basic_Concept.pdf.
Declaring a function parameter as 'int[] array' might seem more like a C# syntax and also require specifying the size of the array to fix compile errors (e.g. void f(const int(&array)[10])
I'm uncertain if using 'int[] array' was an intentional educational choice or if it's a misunderstanding on my part. Could you please clarify this?
Hello Federico
Encountered the compile error with these examples below, the page 78, on 0.5.Basic_Concept.pdf. Declaring a function parameter as 'int[] array' might seem more like a C# syntax and also require specifying the size of the array to fix compile errors (e.g.
void f(const int(&array)[10])
I'm uncertain if using 'int[] array' was an intentional educational choice or if it's a misunderstanding on my part. Could you please clarify this?