Top "Integer" questions

Common datatype in many programming languages for representing a whole number.

VB Check if int is empty

A really boring question, sorry, but I really don't know that yet ;) I've tried always string.empty, but with a …

vb.net integer value-type
How do you store an arbitrarily large integer value in memory?

I have to store an integer value that is larger than the maximum value for the long datatype. How would …

c memory-management integer integer-arithmetic
How can I use cout << myclass

myclass is a C++ class written by me and when I write: myclass x; cout << x; How do …

c++ class input integer
How do I explode an integer

the answer to this could be easy. But I'm very fresh to programming. So be gentle... I'm at work trying …

php arrays integer delimiter explode
Differences between new Integer(123), Integer.valueOf(123) and just 123

Recenlty I saw code (Java) like this: myMethod(new Integer(123)); I am currently refactoring some code, and there is a …

java integer new-operator value-of
Writing integer to binary file using C++?

I have a very simple question, which happens to be hard for me since this is the first time I …

c++ binary integer fstream
how to pass sql parameter as null value in integer datatype variable?

how to pass sql parameter as null value in to integer data type variable ? StockBO sBO = new StockBO(); sBO.Mode = 2; …

c# types integer sqlparameter
T-SQL calculating average time

I have a problem with calculating average time. This is the case: i have multiple rows, in each row there …

sql-server-2008 tsql time integer dataformat
Why doesn't Java throw an Exception when dividing by 0.0?

I have code to calculate the percentage difference between 2 numbers - (oldNum - newNum) / oldNum * 100; - where both of the …

java types integer double divide-by-zero
Java Array HashCode implementation

This is odd. A co-worker asked about the implementation of myArray.hashCode() in java. I thought I knew but then …

java integer hashcode