CHAPTER 2 -----Reapresenting and Manipulating Information(1)

The familiar decimal, or base-10, representation has been in use for over 1000 years, having been developed in India, improved by Arab mathematicians in the 12th century, and brought to the West in the 13th century by the Italian mathematician Leonardo Pisano (c. 1170 – c. 1250), better known as Fibonacci(斐波那契,斐波那契数列).

 The evolution of the C programing language :The ISO take over responsibility for standardizing the C language ANSI C——>ISO C90(the same as ANSI C,sometimes called c89)——>ISO C99——>ISO C11

The GNU Complier Collection(gcc) can compiler programs accroding to the conventions of several different versions of the C language,based on different command line options.

For example, to compile program prog.c according to ISO C11,we could give the command line:

linux> gcc -std=c11 prog.c

 

2.1 Information Storage

most computers use blocks of eight bits,or bytes,as the smallest addressable unit of memory.A machine-level program views memory as  a very large array of bytes,referred to as virtual memory.

Each byte of memory is identified by a unique number,known as its address,and the set of all possible addresses is knowns as the virtual address space(虚拟地址空间).

 

转载于:https://www.cnblogs.com/SsoZhNO-1/p/8868233.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值