#include <iostream>using namespace std; int main() { // your code goes here cout << "hello 😀".size(); return 0;}
Standard input is empty
prog.cpp: In function ‘int main()’: prog.cpp:7:23: error: request for member ‘size’ in ‘"hello \37777777760\37777777637\37777777630\37777777600"’, which is of non-class type ‘const char [11]’ cout << "hello 😀".size(); ^~~~
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!