tutorials

Using Basic Arrays - C/C++Tutorial

Introduction

A normal variable type, such as an int or float, can only hold a single value at any one time. An array allows you to store many values and access them from within your program. For example, if you were creating a simple game, you might wish to keep track of the top 10 scores. One way to do this would be to use an array.

Syndicate content