Hi!
Exactly, it's just an example, to give you an idea to how it might work.
To make this code compile, put the class in a header file and provide definition for the setPriority and priority functions.
It's not required but it's a good practice to separate declaration from definition, to put the class definition in a separate source file![]()
Bookmarks