/in/foo.cc:29:8: warning: multi-character character constant [-Wmultichar]
scand('%d',&d);
^~~~
/in/foo.cc:35:9: warning: multi-character character constant [-Wmultichar]
scanf('%d',&t);
^~~~
/in/foo.cc:38:9: warning: multi-character character constant [-Wmultichar]
printf('%d',minn);
^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:29:15: error: 'scand' was not declared in this scope
scand('%d',&d);
^
/in/foo.cc:35:16: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
scanf('%d',&t);
^
In file included from /usr/include/c++/6/cstdio:42:0,
from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:46,
from /in/foo.cc:1:
/usr/include/stdio.h:433:12: note: initializing argument 1 of 'int scanf(const char*, ...)'
extern int scanf (const char *__restrict __format, ...) __wur;
^~~~~
/in/foo.cc:38:18: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
printf('%d',minn);
^
In file included from /usr/include/c++/6/cstdio:42:0,
from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:46,
from /in/foo.cc:1:
/usr/include/stdio.h:364:12: note: initializing argument 1 of 'int printf(const char*, ...)'
extern int printf (const char *__restrict __format, ...);
^~~~~~