I want to print the first letter of a string.
#include <iostream>
#include <string>
using namespace std;
int main() {
  string str = "다람쥐 헌 쳇바퀴 돌고파.";
  cout << str.at(0) << endl;
}
I want '다' to be printed like java, but '?' is printed.
How can I fix it?
 
    