background preloader

Apprendre / Learn

Facebook Twitter

Index of /soft. The Basics of C Programming". The previous discussion becomes a little clearer if you understand how memory addresses work in a computer's hardware. If you have not read it already, now would be a good time to read How Bits and Bytes Work to fully understand bits, bytes and words. All computers have memory, also known as RAM (random access memory). For example, your computer might have 16 or 32 or 64 megabytes of RAM installed right now. RAM holds the programs that your computer is currently running along with the data they are currently manipulating (their variables and data structures). Memory can be thought of simply as an array of bytes. In this array, every memory location has its own address -- the address of the first byte is 0, followed by 1, 2, 3, and so on. Memory addresses act just like the indexes of a normal array. Float f; This statement says, "Declare a location named f that can hold one floating point value.

" f = 3.14; The output that you see from the program will probably look like this: jQuery: The Write Less, Do More, JavaScript Library. Javanotes 6.0 -- Title Page. Introduction to Computer Science and Programming | MIT Video Course. The C Library Reference Guide. UNIX Tutorial for Beginners.

Algorithmes