大众信息网

C++中std::int 类和 int类有什么区别

关注:216  答案:2  手机版
解决时间 2021-01-16 11:13
如题
最佳答案
int是一个基本类型

std::int这个有么?std::标识std名字空间,std::int感觉没有这个东西
全部回答
string是返回值没错,std::是stl(standard template library,标准模板库)的命名空间。 string这个类在std::命名空间下
我要举报
如以上问答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!