You can change the default for classifiers in class diagrams when you extract elements from files and show related C/C++ elements.
Parent topic: Customizing C/C++ UML visual development default settings
Related concepts
Attributes
Operations
Visibility
Related tasks
Setting the default to show parent names
Changing the default for showing attribute and operation compartments
Changing the default visibility style for attributes and operations
Changing the default visibility style for C/C++ stereotypes
Changing the default for extracting C/C++ visualization elements