0_0_13252997_8381.cpp: In function 'int main()': 0_0_13252997_8381.cpp:7:19: error: cannot convert 'bool' to 'const char*' for argument '1' to 'int printf(const char*, ...)' printf(x>0)?"Yes\n":"No\n"); ^