Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > C/C++
You last visited: Today at 20:41

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[stdint.h]N Bits

Discussion on [stdint.h]N Bits within the C/C++ forum part of the Coders Den category.

Reply
 
Old   #1

 
alg0r!thm's Avatar
 
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.
alg0r!thm is offline  
Old 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.
MoepMeep is offline  
Thanks
1 User
Old 01/20/2012, 18:38   #3

 
alg0r!thm's Avatar
 
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'
alg0r!thm is offline  
Old 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
MoepMeep is offline  
Thanks
1 User
Old 01/22/2012, 02:20   #5


 
MrSm!th's Avatar
 
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.
MrSm!th is offline  
Thanks
1 User
Old 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 View Post
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.
MoepMeep is offline  
Thanks
1 User
Old 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.
jacky919 is offline  
Thanks
1 User
Reply


Similar Threads 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.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.