Skip to main content
Engineering LibreTexts

17: String Class, Unary Positive and Negative

  • Page ID
    10351
    • 17.1: String Class within C++
      In most programming languages a string is typically a string of characters (string them along in a series). The rules for handling strings vary from language to language. Technically, there is no string data type in the C++ programming language. However, the concept of a string data type makes it easy to handle stings of character data.
    • 17.2: Unary Positive and Negative Operators
      Unary positive also known as plus and unary negative also known as minus are unique operators. The plus and minus when used with a constant value represent the concept that the values are either positive or negative.
    • 17.3: Practice 16 String Class, Unary Positive and Negative