CyberSlug Rules!

Beginner Programming CMPS060

Prof. Paulo Franca

Home

Syllabus

Login

Objects

Download

Staff only

Input - Cin

This function asks for a value but does not display a prompt.

Cin>> <variable name> ;

Will open a dialog box and input the value to the specified variable

 

Example:

Cin>> price;

 

Note:

The standard C++ input is "cin" not "Cin";
Cin is only available in our support software.