Top "Int" questions

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

adding unsigned int to int

#include <iostream> int main () { using namespace std; unsigned int i = 4; int a = -40; cout<<a+i&…

c++ types int unsigned-integer
What is the difference between int and NSInteger?

Possible Duplicates: When to use NSInteger vs int? Why is there is an NSInteger? Can we use int and NSInteger …

objective-c cocoa types int nsinteger
Difference between unsigned and unsigned int in C++

What is the difference between unsigned and unsigned int? This question was already answered for C (there is no difference): …

c++ types int unsigned
It is possible to get an IntPtr from an int[] array?

Greetings. In C#: If I have an int[] array declared like this int[] array = new array[size]; there is an …

c# int intptr emgucv stride
Formatting: how to convert 1 to “01”, 2 to “02”, 3 to "03", and so on

Following code outputs the values in time format, i.e. if it's 1:50pm and 8 seconds, it would output it as 01:50:08 …

c++ string datetime int itoa
sqrt() of int type in C

I am programming in the c language on mac os x. I am using sqrt, from math.h, function like …

c int double sqrt
C# Random(Long)

I'm trying to generate a number based on a seed in C#. The only problem is that the seed is …

c# random int long-integer seed
Multiplication of two integers in C++

I have a pretty basic question, but I am not sure if I understand the concept or not. Suppose we …

c++ int range long-integer
AS3: declaring an "undefined" parameter for int, uint or Number

I'd like to implement the following logic: function setMyValue (myVar:int = undefined):void { if (myVar == undefined) { /* Generate a value for …

actionscript-3 actionscript function parameters int
How do you read in a 3 byte size value as an integer in c++?

I'm reading in an id3 tag where the size of each frame is specified in 3 bytes. How would I be …

c++ int byte id3