Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 7a307a77d047c5e26b574cea6ea4aa63643251ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
		
		
		/* This is sample code to test the formatter */
           		
		
         		
	  class Complex {
		private  :
			   float re ;		   	float im;
				public:
			Complex(float re, float im) :
	re(re), im(im) {}
			float GetRe() {			return re;}
float GetIm() {
		return im;
			}
 void Set(float r, float i);
   /* Set real part */
	   void SetRe(float r)  ;
	  /*
   * Set imaginary part
	   */
		void SetIm(float i);void Print();
		};

Back to the top