官术网_书友最值得收藏!

Chapter 2. Programming Languages

This chapter deals with programming languages. A single chapter, of course, cannot replace complete books that are dedicated to certain programming languages. However, when compiling or executing programs from the Internet, basic knowledge of programming languages may help to debug functionality and finally get things working as expected.

In this chapter, some basic principles, such as remote connections and editors, are explained. Afterwards, you will learn something about shell programming. This programming will be required later, for example, within Chapter 5, A Multimedia Center.

Python is a scripting language, which is interpreted on the fly. You will learn the basics of Python and a data visualization example is also provided.

Most program sources from the Internet are C/C++ programs. You will learn the basics of C using the GNU C-compiler, makefiles, and a debugger.

Another section deals with Scratch. Scratch is a graphical programming language for children aged 8 and upward. Each programming section contains an example of how to deal with external interfaces using GPIO or other buses.

The last section of this chapter deals with compiling and installing new kernels from a source. This is often needed in order to add certain functionality to a system. The following sections are covered in detail:

  • Basic principles
  • Bash
  • Python
  • C/C++
  • Scratch
  • New kernels
主站蜘蛛池模板: 高唐县| 嘉兴市| 榆树市| 固始县| 雅安市| 丹棱县| 罗江县| 清远市| 普兰县| 远安县| 普宁市| 福贡县| 大悟县| 临西县| 喜德县| 正阳县| 玉田县| 双流县| 三明市| 忻州市| 沾益县| 兖州市| 万荣县| 吉林省| 镇江市| 绵竹市| 乃东县| 包头市| 建始县| 九龙县| 福海县| 桦川县| 四会市| 策勒县| 阿克陶县| 满洲里市| 新宁县| 万州区| 宁强县| 黄梅县| 太湖县|