I have an enumerated data type in a socket library for PUT, POST, and GET. I added DELETE, but it came up with errors until I changed it DELETECMD. Is DELETE (in all caps) a reserved word in c++? If so, for what? (I'm already well aware of the normal "delete" function) It's not a problem, I'm just curious.
It's not reserved by C or C++, but it is used in Windows. It's one of the standard access rights, along with READ_CONTROL, SYNCHRONIZE, WRITE_DAC, and WRITE_OWNER. They're defined in winnt.h, which you'll get implicitly whenever you include windows.h.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With