How to cast the size_t to double or int C++

前端 未结 5 880
旧时难觅i
旧时难觅i 2020-12-25 09:48

My question is that

I have a size_t data, but now I want to convert it to double or int.

If I do something like

 size_t data = 99999999;
 in         


        
5条回答
提交回复
热议问题