首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > C/C++/VC++ > 组分的C + +头

组分的C + +头

  • 资源大小:4.85 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

Include this header to be able to do fraction calculations. By simply including the header and specifying the storage type (integer variant)you can create and use a fractional data type. For example, fraction foo(3,4) would create a fraction name foo with a value of 3/4, and store the fraction using the int data type. Simple to use, fast, and modifiable for your needs, because its all in one header file at your access. Its use is similar to that of the standard C++ library complex data type. It includes all basic mathematical operations as well as comparison operators, and is very flexible. If you would like to see a feature implemented, just ask here, or you can even do it yourself, and if you would like, post the updated source here for others to use and share.

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP