S

A scalar variable has a single value (at any one time); this is contrasted with a vector or an array, which contains a number of values, each of which is referred to by its index.

The scope of a variable is the part of the program in which the variable can be accessed. The scopes with which we are concerned are local, global, and class; see local scope, global scope, and class scope for more details.

A selection expression is the part of a switch statement that specifies an expression used to select an alternative section of code.

A selection sort is a sorting algorithm that selects the highest (or lowest) element from a set of elements (the “input list”) and moves that selected element to another set of elements (the “output list”); the next ...

Get C++: A Dialog Programming with the C++ Standard Library now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.