Librenix
Headlines | Linux | Apps | Coding | BSD | Admin | News
Information for Linux System Administration 

C Data Types

Up
vote
Down

The C Type system has been adapted to a great number of architectures. As C was adapted to new systems, decisions had to be made. Should the int type be the same size on every new system, or should it be the most convenient size on every system, even if this meant it wasn't always the same size? “If you learn nothing else from these articles, learn this: On any C language implementation compliant with any C standard ever written, sizeof(char) is exactly one, whether char is eight bits, 16, 60, or 64. If you use the GNU autoconf test for sizeof(char), you might as well tattoo "I don't know what sizeof means" on your forehead.”
 read more | mail this link | score:3213 | -Idean Momtaheni, January 6, 2006
More Programming articles...

Abstract Art Prints by Ray Yeargin

Selected articles

Testing the Digital Ocean $5 Cloud Servers with an MMORPG

Space Tyrant: A threaded game server project in C

Tutorial: Introduction to Linux files

Mono-culture and the .NETwork effect

Why Programmers are not Software Engineers

Programming Language Tradeoffs: 3GL vs 4GL

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

 
Articles are owned by their authors.   © 2000-2012 Ray Yeargin