各种编程语言变量的数据类型

获取变量的数据类型

1、c/c++

typeid(a).name()

2、python

type(a)

3、lua

type(a)

 

posted @ 2016-08-29 18:21  gaoyanglao  阅读(347)  评论(0)    收藏  举报