lvalue required as increment operand
What is lvalue? 해당 에러 메세지에 대해 알아보기 전에 lvalue에 대해 간단히 알아보기 위해 MSDN의 lvalue에 대한 정의를 살펴보자. An lvalue refers to an object that persists beyond a single expression. You can think of an lvalue as an object that has a name. All variables, including nonmodifiable (const) variables, are lvalues. An rvalue is a temporary value that does not persist beyond the expression that uses it.- MSDN - MSDN에서 말한 lva..