Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Data Type & Values

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
jongwee
Moderator
Reputation: 0

Joined: 28 Jun 2006
Posts: 1388
Location: Singapore

PostPosted: Mon Mar 12, 2007 11:59 pm    Post subject: Data Type & Values Reply with quote

Code:
Data type   Bit   Value range

Char   8   -128~127
Unsigned char   8   0~255
Signed char   8   -128~127
int   32   -2,147,483,648~2,147,483,647
Unsigned int   32   0~4,294,967,295
Signed int   32   -2,147,483,648~2,147,483,647
Short int   16   -32,768~32,767
Unsigned short int   16   0~65,535
Signed short int   16   -32,768~32,767
Long int   32   -2,147,483,648~2,147,483,647
Unsigned long int   32   0~4,294,967,295
Signed long int   32   -32,768~32,767
float   32   3.4E-38 ~ 3.4E+38
double   64   1.7E-308 ~ 1.7E+308
Long double   80   3.4E-4932 ~ 1.1E+4932
Bool   None   True/False
wchar_t   16   0~65,535

A neater copy in Microsoft Word. Download

_________________
Back to top
View user's profile Send private message MSN Messenger
flawedmatrix
Grandmaster Cheater
Reputation: 0

Joined: 21 Jun 2006
Posts: 819
Location: 14598622 for yourself...

PostPosted: Tue Mar 13, 2007 12:54 am    Post subject: Reply with quote

Ima briefly go over these:

Code:
Char - it is basically a single character, or a single byte
Unsigned char - unsigned byte (0 to 255)
Signed char - signed byte (-128 to 127)

long int - long integers
Unsigned long int - unsigned long integers (0 to 4,294,967,295)
Signed long int - signed long integers (-2,147,483,648 to 2,147,483,647)

Short int - short integer
Unsigned short int - unsigned short integer (0 to 65,535)
Signed short int - signed short integer (-32,768 to 32,767)

int - integer
Unsigned int - unsigned integers (0 to 4,294,967,295)
Signed int - signed integers (-2,147,483,648 to 2,147,483,647)

float - a floating point number (Like decimal numbers)  (3.4E-38 to 3.4E+38)
double - a double precision floating point number (More precise) ( 1.7E-308 to 1.7E+308)
Long double - a long double precision floating point number  (3.4E-4932 to 1.1E+4932)

Bool - Boolean, which means a simple true or false
wchar_t - a wide character  (0 to 65,535)

_________________
Back to top
View user's profile Send private message Visit poster's website AIM Address
Renkokuken
GO Moderator
Reputation: 4

Joined: 22 Oct 2006
Posts: 3249

PostPosted: Tue Mar 13, 2007 1:09 am    Post subject: Reply with quote

And for the Dephi...

Integer ordinals:

Code:
Boolean         Allows just True and False values
Byte         An integer type supporting values 0 to 255
Cardinal         The basic unsigned integer type
Comp         A 64 bit signed integer
Int64         A 64 bit sized integer - the largest in Delphi
Integer         The basic Integer type
LongInt         An Integer whose size is guaranteed to be 32 bits
LongWord         A 32 bit unsigned integer
ShortInt         An integer type supporting values -128 to 127
SmallInt         An Integer type supporting values from -32768 to 32767
Word         An integer type supporting values 0 to 65535


Floating point types:

Code:
Currency         A floating point type with 4 decimals used for financial values
Double         A floating point type supporting about 15 digits of precision
Extended         The floating point type with the highest capacity and precision
Real         A floating point type supporting about 15 digits of precision
Real48         The floating point type with the highest capacity and precision
Single         The smallest capacity and precision floating point type


String/Char types:

Code:
AnsiChar         A character type guaranteed to be 8 bits in size
AnsiString         A data type that holds a string of AnsiChars
Char         Variable type holding a single character
ShortString         Defines a string of up to 255 characters
String         A data type that holds a string of characters
WideChar         Variable type holding a single International character
WideString         A data type that holds a string of WideChars


Pointer types:

Code:

PAnsiChar         A pointer to an AnsiChar value
PAnsiString         Pointer to an AnsiString value
PChar         A pointer to an Char value
PCurrency         Pointer to a Currency value
PDateTime         Pointer to a TDateTime value
PExtended         Pointer to a Extended floating point value
PInt64         Pointer to an Int64 value
Pointer         Defines a general use Pointer to any memory based data
PShortString         A pointer to an ShortString value
PString         Pointer to a String value
PVariant         Pointer to a Variant value
PWideChar         Pointer to a WideChar
PWideString         Pointer to a WideString value


Other types:

Code:
Array         A data type holding indexable collections of data
Class         Starts the declaration of a type of object class
File         Defines a typed or untyped file
Record         A structured data type - holding fields of data
TConvFamily         Defines a family of measurement types as used by Convert
TConvType         Defines a measurement type as used by Convert
TDateTime         Data type holding a date and time value
Text         Defines a file as a text file
TextFile         Declares a file type for storing lines of text
TFloatFormat         Formats for use in floating point number display functions
TFormatSettings         A record for holding locale values for thread-safe functions
TObject         The base class type that is ancestor to all other classes
TPoint         Holds X and Y integer values
TRect         Holds rectangle coordinate values
TReplaceFlags         Defines options for the StringReplace routine
TSearchRec         Record used to hold data for FindFirst and FindNext
TSysCharSet         Characters used by supplied string parsing functions
TThreadFunc         Defines the function to be called by BeginThread
Variant         A variable type that can hold changing data types
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites