SHARE
TWEET

Untitled

a guest Aug 12th, 2017 42 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include "iostream"
  2.  
  3. int main ()
  4. {
  5.     char ch;
  6.     string s;
  7.     int count = 1;
  8.     const double pi = 3.141592653589793285;
  9.     extern int error_number;
  10.    
  11.     const char* name = "Njal";
  12.     const char* season[] = { "spring", "summer", "fail", "winter" };
  13.    
  14.     struct Date {
  15.         int d, m, y;
  16.     }; 
  17.     int day(Date* p) {return p-> d;}
  18.     double sqrt(double);
  19.    
  20.     template<class T>
  21.     T abs(T a)
  22.     {
  23.         return a<0 ? -a : a ;
  24.     }
  25.    
  26.     typedef complex<short> Point;
  27.    
  28.     struct User;
  29.    
  30.     enum Beer{
  31.         Calsberg, Tuborg, Thor
  32.     };
  33.     namespace NS{ int a; }
  34.    
  35.     return 0;
  36. }
RAW Paste Data
Top