#include <iostream>#include <string>using namespace std; int main() { string s = "Hello, "; s += 'A'; cout << s;}
Standard input is empty
Hello, A
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!