c++打印变量类型:
使用 typeid(变量名).name()
int main(){
std::cout << "type of ss : " << typeid(ss).name() << std::endl;
}
c++打印变量类型:
使用 typeid(变量名).name()
int main(){
std::cout << "type of ss : " << typeid(ss).name() << std::endl;
}
暂无评论
2023-12-23
2023-12-23
2023-12-23
2023-12-23
2023-12-23
2023-12-23
2023-12-23
2023-12-23
2024-05-20
2024-05-20
2024-05-20
2024-05-20
2024-05-20
2024-05-20
2024-05-18
2024-05-18
2024-05-17
2024-05-17
2024-05-17
2024-05-17
2024-05-17
2024-05-17
2024-05-17
2024-05-17
2024-05-17
2024-05-17
2024-05-17
2024-05-17