@vncpetrov/

GreetingByName

C++

No description

fork
loading
Files
  • main.cpp

This Plugin Crashed!

Error: Error: must not create an existing file {"type":"CREATE_FILE","wid":"0.933477678883641","path":"main.cpp","file":{"path":"main.cpp","content":{"asEncoding":{"base64":"I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgoKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmludCBtYWluKCkgewogIHN0cmluZyBuYW1lOwoJZ2V0bGluZShjaW4sIG5hbWUpOwoJY291dCA8PCAiSGVsbG8sICIgPDwgbmFtZSA8PCAiIVxuIjsKICAKCXJldHVybiAwOwp9"},"asBuffer":null},"loaded":true}}
1
2
3
4
5
6
7
8
9
10
11
12
#include <iostream>
#include <string>

using namespace std;

int main() {
  string name;
	getline(cin, name);
	cout << "Hello, " << name << "!\n";
  
	return 0;
}