《Programming Abstractions In C》阅读笔记p69-p71

本文介绍了阅读《ProgrammingAbstractionsinC》的部分内容,涉及C语言中的符号常量(symbolicconstant),数组声明(Arraydeclaration)以及数组选择(Arrayselection)的概念。示例代码展示了如何声明和操作数组。同时,文章中穿插了英语学习,解释了pictorially、gymnastics、figureskating和effectivesize等词汇的含义。

今日完成《Programming Abstractions In C》阅读P69-p71。
一、技术总结
涉及到的技术知识点有“symbolic constant”,”Array declaration”,“Array selection”。

#include <stdio.h>
#define  NJudges 5

int main(int argc, char const *argv[])
{
    // Array declaration p69: type name[size];
    double scores[NJudges]; // 为了方便后续修改,所以数组的大小声明为symbolic constant

    // Array selection p70: array[index]
    scores[0] = 9.2;
    scores[0] = 9.9;
    scores[0] = 9.7;
    scores[0] = 9.0;
    scores[0] = 9.5;

    return 0;
}

二、英语总结
1、 pictorially
pictorial > pictorially:pictorius(of a painter) + -al(of, like, related to pertain to)。所以,pictorially的意思是in a way that related to pictures or photographs(图像化地,以绘画的方式)。
2、 gymnastics
phicical exercise that increase th body’s strength, balance and ability to move gracefully(体操)。
3、 figure skating
a type of skating that involves circular patterns and often includes jumps(花样滑冰)。
4、 effective size
effective 在这里的意思是:in fact,所以 effective size的意思是“实际大小”,“有效大小”。
参考资料:英语词根解析:Etymonline - Online Etymology Dictionary

欢迎搜索及关注:编程人

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值