#include <iostream>using namespace std; void print(const auto &v){ std::cout << v << '\n';} int main() { print(42); print("hello");}
Standard input is empty
42 hello
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!