数据结构常用算法合集

源代码在线查看: arg.cpp

软件大小: 2005 K
上传用户: jellylihui
关键词: 数据结构 算法
下载地址: 免注册下载 普通下载 VIP

相关代码

				//arg.cpp
				// Illustrate the use of each of the complex friend functions.
				#include   // This also includes iostream.h.
				#include 
				void main(void)
				{
				   complex z(3.1, 4.2);
				   cout 				   cout 				   cout 				   cout 				
				   double mag = sqrt(norm(z));
				   double ang = arg(z);
				
				   cout 				   cout 				
				   cout 				   cout 				   cout 				   getch();
				}
				
							

相关资源