Arrays, Strings, and Pointers

Chia sẻ: Chankinh1 Chankinh1 | Ngày: | Loại File: PDF | Số trang:42

0
109
lượt xem
18
download

Arrays, Strings, and Pointers

Mô tả tài liệu
  Download Vui lòng tải xuống để xem tài liệu đầy đủ

This module discusses arrays, strings, and pointers. Although these may seem to be three disconnected topics, they aren’t. In C++ they are intertwined, and an understanding of one aids in the understanding of the others. An array is a collection of variables of the same type that are referred to by a common name. Arrays may have from one to several dimensions, although the one-dimensional array is the most common. Arrays offer a convenient means of creating lists of related variables. The array that you will probably use most often is the character array, because it...

Chủ đề:
Lưu

Nội dung Text: Arrays, Strings, and Pointers

Đồng bộ tài khoản