[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
CppAssignOperator
Do not confuse it with the equal operator, ==.
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
CppAssignOperator
(C++) = operator
The assign operator is used to assign one variable's value to another.const int x = 1; //Set the value of x to 1 const int y = x; //Set the value of y to x's values, which is 1.
Do not confuse it with the equal operator, ==.
'Assign operator' links
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
