C++ Sample Code

#include <iostream>
using namespace std;

void f(const char *g);
void f(void);

void f(const char *g) { cout << "Hello, " << g << "!" << endl; }
void f(void) { cout << "Welcome to Paradise!" << endl; }

int main(int argc, char *argv[])
{
	f("Student");
	f();
	f(argv[1]);
	return 0;
}