
C++
liwxinqi
这个作者很懒,什么都没留下…
展开
-
2021-11-15
CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate’.If using ‘conda activate’ from a batch script, change yourinvocation to ‘CALL conda.bat activate’.To initialize your shell, run$ conda init <SHELL_NAME>Cu转载 2021-11-15 21:31:26 · 119 阅读 · 0 评论 -
浮点转化为二进制的方法
*浮点转化为二进制的方法:一种方法: union{float input;int output;} data;data.input = m_YiTiji_zdLong;std::bitset<sizeof(float)*CHAR_BIT>bits(data.output);第二种方法:float a=3.14;int b = (int)&a; // 或者int b =(int&)afloat c = (float)&b;运行程序c为3.14原创 2020-12-20 09:32:31 · 430 阅读 · 1 评论