2 ms·
Tried this: #include <stdio.h> int main() { puts("hello world"); return 0; } Got: source:5:4: error: not found 'puts'
by asveikau 4y ago
Tried this:
#include <stdio.h>
int main()
{
puts("hello world");
return 0;
}
Got:
source:5:4: error: not found 'puts'
5 | puts("hello world");
|
- thradams 4y agoThe declaration of puts is missing at the stdio.h used by the web version. (If you output preprocessed you will see the declarations are there) I will added it. Thanks. Meanwhile you can add: int puts( const char *str );