将flaot变量转换为类型?
什么意思?

解决方案 »

  1.   

    csdn没传完全。是将float转换为bool类.
      

  2.   

    _ecvt Convert double to string of specified length 
    _fcvt Convert double to string with specified number of digits following decimal point 
    _gcvt Convert double number to string; store string in buffer 
      

  3.   

    prog_st(st)高手:
    你未设么用英语呢?你的PC上没有中文输入法么?
    对不起,有点冒昧.
      

  4.   

    哎,人家从msdn上拷贝的强制转化吧
      

  5.   

    float f;
    bool b = (bool)f;