// archives

Operator

This tag is associated with 2 posts

cin

C++ is equipped with another operator used to request values from the user

The user usually provides such a value by typing it using the keyboard

The cin operator is used for that purpose

(Pronounce “see in”)
It displays a blinking cursor on the monitor to let the user know that a value is expected
Uses two greater than signs [...]

C++ Output with cout

Let’s look at how to display a message

The myfirst.cpp program (A-1)

Uses the following C++ statement (A-2):

The part enclosed within the double quotation marks is the message to print

In C++, any series of characters enclosed in double quotation marks is called a character string, presumably because it consists of several characters strung together into a larger [...]