Problem | goodprogrammer |
---|---|
User | playiprobro |
Submission Time | 2024-02-21 13:49:17 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
goodprogrammer.cpp: In function ‘int main()’:
goodprogrammer.cpp:4:18: error: too few arguments to function ‘int sprintf(char*, const char*, ...)’
4 | sprintf("wabbit");
| ^
In file included from /usr/include/features.h:461,
from /usr/include/x86_64-linux-gnu/c++/9/bits/os_defines.h:39,
from /usr/include/x86_64-linux-gnu/c++/9/bits/c++config.h:528,
from /usr/include/c++/9/cstdio:41,
from goodprogrammer.cpp:1:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:34:1: note: declared here
34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
| ^~~~~