- 博客(1)
- 收藏
- 关注
原创 实现实数的整数与小数部分的拆分
实现实数的整数与小数部分的拆分 代码如下: // An highlighted bl` #include <stdio.h> #include <stdlib.h> using namespace std; void splitfloat( float x, int *intpart, float *fracpart ); void splitfloat( float x, int *intpart, float *fracpart ) { *intpart = (int)x
2021-01-02 16:25:13 294
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人