Skip to main content

9 docs tagged with "cpp"

View all tags

1. Basics of C++

Every time we start to learn a new language, it's a good idea to start with a simple "Hello, World!"!

4. References and Pointers

pointers are objects that hold the address of another object. This address can be deferenced using the dereference operator (*) to get the object at that address.

7. Arrays

An array is a container data type that stores a sequence of values contiguously (meaning each element is placed in an adjacent memory location, with no gaps). Arrays allow fast, direct access to any element. They are conceptually simple and easy to use, making them the first choice when we need to create and work with a set of related values.

Appendix-1

| 方法 | 调用语法 | 返回类型 | 功能 | 示例代码 |