#undef
The #undef directive removes the current definition of the specified name. All subsequent occurrences of the name are processed without replacement.
#undef name
-
name
-
Name to be removed. This value is any combination of letters, digits, and punctuation that is valid for the C/C++ preprocessor.
Example
This example removes the definitions for the names nonzero and USERCLASS:
#undef nonzero
#undef USERCLASS
Related topics
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin