|
|
|
|
|
- Reason
- Correction
- Example
- Initializing a global member in the declaration code of the class
Error 1011: To access the global member of the class, use ClassName::MemberName
You are trying to access a global member by using the syntax used to access a member of the class. Use the proper syntax allowing you to access a global member of the class in the code of the class: ClassName::NameGlobalMember Initializing a global member in the declaration code of the class Code triggering the error // Initializing a global member Drawing:pLast = Null
Possible correction Use the appropriate syntax. // Initializing a global member Drawing::pLast = Null
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|