|
You last visited: Today at 20:41
Advertisement
[stdint.h]N Bits
Discussion on [stdint.h]N Bits within the C/C++ forum part of the Coders Den category.
01/20/2012, 18:20
|
#1
|
elite*gold: 65
Join Date: Aug 2010
Posts: 1,365
Received Thanks: 561
|
[stdint.h]N Bits
Hallo zusammen.
Ich würde gerne wissen was es in C mit den Datentypen die in der Headerdatei "stdint.h" aufsich hat bzw. Was ist gemeint wenn ein Datentyp eine Breite von exakt "N" Bits hat. Wofür steht "N".
Denn ich lerne derzeit mit dem Buch "C von A bis Z" von Jürgen Wolf.
Und bin bei der Thematik "Ganzzahlige Typen mit vorgegebener Breite - <stdint.h>" angelangt.
 nochmal zum nachlesen was genau in meinem Buch steht.
Ich hoffe mir kann jemand helfen.
So far,
Daniiel'
//btw. ich bin gerade auf die Headerdatei <stdlib.h> gestossen.
Und nun frag ich mich was in dieser Headerdatei deklariert wird.
|
|
|
01/20/2012, 18:36
|
#2
|
elite*gold: 42
Join Date: Jun 2008
Posts: 5,425
Received Thanks: 1,888
|
N steht für einen beliebigen Wert innerhalb bestimmter Grenzen. Steht doch in dem Link von dir.
|
|
|
01/20/2012, 18:38
|
#3
|
elite*gold: 65
Join Date: Aug 2010
Posts: 1,365
Received Thanks: 561
|
Achso also kann ich damit meinen eigenen int definieren?
Oder wie kann man das verstehen.
Tut mir leid bin noch ein total Anfänger :-D
Und was hat es mit der Headerdatei <stdlib.h> aufsich?
So far,
Daniiel'
|
|
|
01/20/2012, 18:41
|
#4
|
elite*gold: 42
Join Date: Jun 2008
Posts: 5,425
Received Thanks: 1,888
|
int8,int16,int32,int64. Was du halt brauchst
|
|
|
01/22/2012, 02:20
|
#5
|
elite*gold: 7110
Join Date: Jun 2009
Posts: 28,908
Received Thanks: 25,409
|
Quote:
|
ein Datentyp eine Breite von exakt "N" Bits hat
|
Sagt mir, dass es sich hierbei um einen beliebig großen Datentyp handelt.
Sprich, du kannst auch von den Standardwerten 16,32,64 auf 2321, 1337 oder sonst was umsteigen, wenn du solche speziellen Größen brauchst.
|
|
|
01/22/2012, 02:46
|
#6
|
elite*gold: 42
Join Date: Jun 2008
Posts: 5,425
Received Thanks: 1,888
|
Quote:
Originally Posted by MrSm!th
Sagt mir, dass es sich hierbei um einen beliebig großen Datentyp handelt.
Sprich, du kannst auch von den Standardwerten 16,32,64 auf 2321, 1337 oder sonst was umsteigen, wenn du solche speziellen Größen brauchst.
|
Bist du dir mit diesen hohen Werten sicher? Ich hätte drauf gewettet, dass es dort deutlich niedere Grenzen gibt.
|
|
|
01/22/2012, 17:25
|
#7
|
elite*gold: 50
Join Date: Mar 2010
Posts: 1,373
Received Thanks: 521
|
Im Grunde alloziierst du ja nur Speicher und für malloc gibt es diese Limiterung:
Quote:
|
The largest possible memory block malloc can allocate depends on the host system, particularly the size of physical memory and the operating system implementation. Theoretically, the largest number should be the maximum value that can be held in a size_t type, which is an implementation-dependent unsigned integer representing the size of an area of memory. The maximum value is 2CHAR_BIT × sizeof(size_t) − 1, or the constant SIZE_MAX in the C99 standard.
|
|
|
|
 |
Similar Threads
|
I NEED QS BOOT 32 bits
11/03/2011 - General Gaming Discussion - 2 Replies
harcs and naworia and lazeboy and crashh.... plis i need boot 32x:mofo:
|
DLL Injector For 64 Bits
10/15/2011 - S4 League Hacks, Bots, Cheats & Exploits - 14 Replies
#Closed Not Working
|
For people with 32 bits.
07/06/2011 - S4 League - 13 Replies
Hello.
I think you all heard about the new skins, isn't it? I just wanna say, to the VERY GOOD hackers, NOT LEECHERS, to create a hack with skins for 32 bits. Is that possible? I have 32 bits, so I can't or is possible to work with CE at 32 bits? Tell me please.
|
32 64 bits hack
10/02/2010 - 4Story - 2 Replies
bonjour moi pour le tuto de bobolo sa me marque
The hack is background already au lieu que sa m affiche thank's aidez moi svp.:D
^^
|
Bits&Bytes C3
12/16/2006 - Lin2 Exploits, Hacks, Bots, Tools & Macros - 74 Replies
After you download the necessary engine.dll and run L2.exe from system (and not L2player) you have access to help menu.
There you can do a lot of things like :
NPC Menu Hack: open any hidden dialogue by its ID, the only thing you have to know is "ask-reply ids", it works to any NPC.its very usefull for bypassing some steps with some quests if you know NPC's ask-replys.example:
http://img66.imageshack.us/img66/7467/11se.jpg
NPC Shop Hack: Open any hidden shops, you can try some cool ids...
|
All times are GMT +1. The time now is 20:42.
|
|