C++ examples for Function:Function Creation
Our First Function
#include <iostream> using namespace std; void PrintHello() { cout << "Hello!" << endl; } int main(int argc, char *argv []) { PrintHello(); //from www.ja va2s . c o m return 0; }