typedef 类型别名?
Typedef.cc:
#include<iostream>
#include<string>
typedef double wages;
int main()
{
wages w = 5000;
std::cout << "w =" << w << std::endl;
}
是否可以用来跨平台?
typedef 类型别名?
Typedef.cc:
#include<iostream>
#include<string>
typedef double wages;
int main()
{
wages w = 5000;
std::cout << "w =" << w << std::endl;
}
是否可以用来跨平台?
© 著作权归作者所有