01-Introduction

In real life,
A bookshelf can hold many books in sequence. A bookshelf is a container that can hold multiple elements.
A set can hold many elements, and elements don't repeat. A set is a container that holds multiple non-repeating elements.
A dictionary contains indices for multiple items and the relationship between those indices and the specific item information. A dictionary is a container that holds a series of indices and specific items.

This chapter mainly introduces the three core containers in the Cangjie language: Arrays, Sets, and Maps.

02-Answer to Previous Exercise

03-Arrays

04-Generics

05-Set

06-Map

05-Exercise

Use arrays to implement a movable dot in the console.

Programmer Wanfeng focuses on AI programming training. Beginners can start making AI projects after watching his tutorial 《30 Lessons · AI Programming Training Camp》 co-produced with Turing Community.

🎓 AI 编程实战课程

想系统学习 AI 编程?程序员晚枫的 AI 编程实战课 帮你从零上手!