Pages

Monday, October 8, 2012

A Programm that will introduce you with some c++ function calling.

// This programm code is written on codeblock
  1. #include<iostream>
  2.   using  namespace std;
  3.   void  line(),massage();
  4. int main(){
  5.     line();
  6.     massage();
  7.     line();
  8.     cout<<"The end of main ().\n";
  9.     return 0;
  10.     }
  11.   void  line(){
  12.         cout<<"-------------------------------------------------------\n";
  13.     }
  14.    void  massage(){
cout<<"Enjoying c++ laguahe\n"<<endl;
}

No comments:

Post a Comment