摘要: abs( )主要用于对求整数的绝对值,在“stdlib.h”(或 <cstdlib>)头文件里面。 而fabs( )主要是求精度要求更高的double ,float 型的绝对值,在<cmath>头文件里。 两者在只#include<cmath>时都可以使用。 阅读全文
posted @ 2018-03-20 23:02 Alyssa_young 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 资料参考:廖雪峰的官方网站https://www.liaoxuefeng.com/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432712108300322c61f256c74803b43bfd65c6f8d0d0000 一、 阅读全文
posted @ 2018-03-20 22:18 Alyssa_young 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 资料参考:廖雪峰的官方网站https://www.liaoxuefeng.com/wiki/001374738125095c955c1e6d8bb493182103fac9270762a000/001407375700558864523211a5049c4983176de304549c8000 一、 阅读全文
posted @ 2018-03-20 21:54 Alyssa_young 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 转载地址: http://blog.csdn.net/dukai392/article/details/70271574 http://blog.csdn.net/xiangzhihong8/article/details/69935712 一、人工智能 人工智能,实际上是让机器展现出人类智力。 强 阅读全文
posted @ 2018-03-20 20:05 Alyssa_young 阅读(113) 评论(0) 推荐(0) 编辑