Elementary Data Structures ~ Linked Lists II

Linked lists bring us into a world of computing that is markedly different from that of arrays and structures. With arrays and structures, we save an item in memory and later refer to it by name (or by index) in much the same manner as we might put a piece of information in a file drawer or an address book; with linked lists, the manner in which we save information makes it more difficult to access but easier to rearrange. Working with data that are organized in linked lists is called list processing. 继续阅读“Elementary Data Structures ~ Linked Lists II”

晶体三极管驱动继电器电路及其抗干扰的一些建议

1、连接方法

用晶体三极管驱动继电器时,建议连接集电极使用。另外,继电器为 ON 时外加额定电压、继电器为 OFF 时使电压为零是一种避免故障的使用方法。并且,在低电压线路(5V 以下)中,请选择考虑到晶体三极管电压降落的电源电压、继电器品种。(在 5V 线路中,建议使用线圈额定电压为 4.5 V型) 继续阅读“晶体三极管驱动继电器电路及其抗干扰的一些建议”

Relational Databases ~ Introduction to SQL I

There are a number of database query languages in use, either commercially or experimentally. In this series we study the most widely used query language, SQL. Although we refer to the SQL language as a “query language”, it can do much more than just query a database. It can define the structure of the data, modify data in the database, and specify security constraints.

It is not our intention to provide a complete users’ guide for SQL. Rather, we present SQL’s fundamental constructs and concepts. Individual implementations of SQL may differ in details, or may support only a subset of the full language. 继续阅读“Relational Databases ~ Introduction to SQL I”