🔥 Online Compiler
Powered by
Judge0
Source Code
#include
#include
#pragma message "Hello from compilation!" int main() { std::string name; std::cin >> name; std::cout << "Hi " << name << "!\n"; std::cerr << "This is a dummy error message " << name << ".\n"; std::cout << "But don't worry " << name << ", everything is fine! :)\n"; return 0; }
Language
Bash
C#
C++
C
Java
Python
Ruby
Input
John
Expected Output
(optional)
▶️ Run (Ctrl + Enter)
Source code available on
GitHub
.