Top "Types" questions

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

Finding the type of an object in C++

I have a class A and another class that inherits from it, B. I am overriding a function that accepts …

c++ types
Size of character ('a') in C/C++

What is the size of character in C and C++ ? As far as I know the size of char is 1 …

c++ c types
What is time_t ultimately a typedef to?

I searched my Linux box and saw this typedef: typedef __time_t time_t; But I could not find the __…

c linux types
What is the best data type to use for money in C#?

What is the best data type to use for money in C#?

c# types currency
Casting a variable using a Type variable

In C# can I cast a variable of type object to a variable of type T where T is defined …

c# reflection types
How to concatenate columns in a Postgres SELECT?

I have two string columns a and b in a table foo. select a, b from foo returns values a …

sql postgresql types concatenation coalesce
Double precision floating values in Python?

Are there data types with better precision than float?

python types precision
How can I check if my python object is a number?

In Java the numeric types all descend from Number so I would use (x instanceof Number). What is the python …

python types numbers
long long in C/C++

I am trying this code on GNU's C++ compiler and am unable to understand its behaviour: #include <stdio.h&…

c++ types long-integer
How to check if type is Boolean

How can I check if a variable's type is of type Boolean? I mean, there are some alternatives such as: …

javascript jquery types