Top "Types" questions

Types, and type systems, are used to enforce levels of abstraction in programs.

"X does not name a type" error in C++

I have two classes declared as below: class User { public: MyMessageBox dataMsgBox; }; class MyMessageBox { public: void sendMessage(Message *msg, User *…

c++ windows types
Determining type of an object in ruby

I'll use python as an example of what I'm looking for (you can think of it as pseudocode if you …

ruby types
What is the size of column of int(11) in mysql in bytes?

What is the size of column of int(11) in mysql in bytes? And Maximum value that can be stored in …

mysql types int
Determine the data types of a data frame's columns

I'm using R and have loaded data into a dataframe using read.csv(). How do I determine the data type …

r dataframe types
How to get input type using jquery?

I have a page where the input type always varies, and I need to get the values depending on the …

jquery input types
List vs tuple, when to use each?

In Python, when should you use lists and when tuples? Sometimes you don't have a choice, for example if you …

python list types tuples
Should you choose the MONEY or DECIMAL(x,y) datatypes in SQL Server?

I'm curious as to whether or not there is a real difference between the money datatype and something like decimal(19,4) (…

sql-server types
Converting stream of int's to char's in java

This has probably been answered else where but how do you get the character value of an int value? Specifically …

java types
What is the best (idiomatic) way to check the type of a Python variable?

I need to know if a variable in Python is a string or a dict. Is there anything wrong with …

python types typechecking
How do you know a variable type in java?

Let's say I declare a variable: String a = "test"; And I want to know what type it is, i.e., …

java variables types