/in/foo.cc: In function 'void Fibonacci(int)':
/in/foo.cc:5:18: warning: comparison of constant '50' with boolean expression is always true [-Wbool-compare]
for (int i=2;0<i<50;i++)
~~~^~~
/in/foo.cc:5:16: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
for (int i=2;0<i<50;i++)
~^~
/in/foo.cc:7:21: error: expected ',' before '-' token
arr[i]=arr[i-1]+[i-2];
^
/in/foo.cc:7:21: error: expected identifier before '-' token
/in/foo.cc: In lambda function:
/in/foo.cc:7:24: error: expected '{' before ';' token
arr[i]=arr[i-1]+[i-2];
^
/in/foo.cc: In function 'void Fibonacci(int)':
/in/foo.cc:7:18: error: no match for 'operator+' (operand types are 'int' and 'Fibonacci(int)::<lambda()>')
arr[i]=arr[i-1]+[i-2];
/in/foo.cc: In function 'int main()':
/in/foo.cc:13:2: error: 'intc' was not declared in this scope
intc=0;
^~~~
/in/foo.cc:15:16: error: 'c' was not declared in this scope
scanf_s("%d",&c);
^
/in/foo.cc:15:17: error: 'scanf_s' was not declared in this scope
scanf_s("%d",&c);
^