Advertisement
udaykumar1997

main must return int

Sep 15th, 2013
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.64 KB | None | 0 0
  1. #include<iostream.h>
  2.  
  3. using namespace std;
  4.  
  5. class crcpara
  6. {
  7. public:
  8.        void chooser_disp()
  9.            {
  10.            cout << "\t no:      name of the ocean \n";
  11.            cout << "\t 1        Indian ocean \n";
  12.            cout << "\t 2        pacific ocean \n";
  13.            cout << "\t 3        atlantic ocean \n";
  14.            cout << "\t 4        articic ocean \n";
  15.            }
  16. }
  17.  
  18. void main()
  19. {
  20.     crcpara plm;
  21.     cout << " hello, this program is for enterpreuners and NOT for kids, so maintain caution "<<endl;
  22.     cout << " please choose the ocean which your going to fish in "<<endl;
  23.     plm.chooser_disp();
  24.     cin.get();
  25.     return 0;
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement