Skip to main content
added 5 characters in body
Source Link
Cody Gray Mod
  • 244.2k
  • 84
  • 721
  • 764

Certain users try and make tagging too complicated. It has especially been a problem in the tag, leading to extended discussions in comments and lots of soul-searching. Resist the temptation to read too much into a tag. Tagging your question with a language tag means that you are writing code in that language. In the case of the tag, it means that you are running your code through a C++ compiler.

A tag absolutely does not imply anything about ISO standard C++. It just means you're writing C++. Additional context is provided by the other tags you use on your question. A tag means you intended for that C++ code to run on Windows, so Windows-specific idioms and APIs are acceptable.

For typical Windows programming questions, you would want to use a tag corresponding to the GUI toolkit that you're using, or if you are targeting the Windows API directly, use the tag.

It is a rare case indeed where you would tag a question with the tag, but if you actually are targeting that API, then yes, use the tag. If you're writing the code to run through a C++ compiler, then also tag it with . I think what was confusing in your case is that you generally don't write C++ code when targeting the NT Native API. Many of the C++ language features are inappropriate, so you restrict yourself to what is essentially the subset of C++ that corresponds to C. That still doesn't mean you're writing C, though. If it runs through a C++ compiler, it's C++, even if it's a subset of C++ that looks very much like C.

Note that in your case, you were not targeting the NT Native API, so the tag would not have been appropriate. There's a user-mode solution for your problem, and it was the one you were actually looking for. RbMm's depth of knowledge sometimes leads him to propose killing flies with a bazooka, thinking nothing of the consequences because he understands and knows how to deal with them. Or just doesn't care about the problems with calling intentionally undocumented, non-public APIs. You just wanted a regular solution that would be compiled in .

Certain users try and make tagging too complicated. It has especially been a problem in the tag, leading to extended discussions in comments and lots of soul-searching. Resist the temptation to read too much into a tag. Tagging your question with a language tag means that you are writing code in that language. In the case of the tag, it means that you are running your code through a C++ compiler.

A tag absolutely does not imply anything about ISO standard C++. It just means you're writing C++. Additional context is provided by the other tags you use on your question. A tag means you intended for that C++ code to run on Windows, so Windows-specific idioms and APIs are acceptable.

For typical Windows programming questions, you would want to use a tag corresponding to the GUI toolkit that you're using, or if you are targeting the Windows API directly, use the tag.

It is a rare case indeed where you would tag a question with the tag, but if you actually are targeting that API, then yes, use the tag. If you're writing the code to run through a C++ compiler, then tag it with . I think what was confusing in your case is that you generally don't write C++ code when targeting the NT Native API. Many of the C++ language features are inappropriate, so you restrict yourself to what is essentially the subset of C++ that corresponds to C. That still doesn't mean you're writing C, though. If it runs through a C++ compiler, it's C++, even if it's a subset of C++ that looks very much like C.

Note that in your case, you were not targeting the NT Native API, so the tag would not have been appropriate. There's a user-mode solution for your problem, and it was the one you were actually looking for. RbMm's depth of knowledge sometimes leads him to propose killing flies with a bazooka, thinking nothing of the consequences because he understands and knows how to deal with them. Or just doesn't care about the problems with calling intentionally undocumented, non-public APIs. You just wanted a regular solution that would be compiled in .

Certain users try and make tagging too complicated. It has especially been a problem in the tag, leading to extended discussions in comments and lots of soul-searching. Resist the temptation to read too much into a tag. Tagging your question with a language tag means that you are writing code in that language. In the case of the tag, it means that you are running your code through a C++ compiler.

A tag absolutely does not imply anything about ISO standard C++. It just means you're writing C++. Additional context is provided by the other tags you use on your question. A tag means you intended for that C++ code to run on Windows, so Windows-specific idioms and APIs are acceptable.

For typical Windows programming questions, you would want to use a tag corresponding to the GUI toolkit that you're using, or if you are targeting the Windows API directly, use the tag.

It is a rare case indeed where you would tag a question with the tag, but if you actually are targeting that API, then yes, use the tag. If you're writing the code to run through a C++ compiler, then also tag it with . I think what was confusing in your case is that you generally don't write C++ code when targeting the NT Native API. Many of the C++ language features are inappropriate, so you restrict yourself to what is essentially the subset of C++ that corresponds to C. That still doesn't mean you're writing C, though. If it runs through a C++ compiler, it's C++, even if it's a subset of C++ that looks very much like C.

Note that in your case, you were not targeting the NT Native API, so the tag would not have been appropriate. There's a user-mode solution for your problem, and it was the one you were actually looking for. RbMm's depth of knowledge sometimes leads him to propose killing flies with a bazooka, thinking nothing of the consequences because he understands and knows how to deal with them. Or just doesn't care about the problems with calling intentionally undocumented, non-public APIs. You just wanted a regular solution that would be compiled in .

Source Link
Cody Gray Mod
  • 244.2k
  • 84
  • 721
  • 764

Certain users try and make tagging too complicated. It has especially been a problem in the tag, leading to extended discussions in comments and lots of soul-searching. Resist the temptation to read too much into a tag. Tagging your question with a language tag means that you are writing code in that language. In the case of the tag, it means that you are running your code through a C++ compiler.

A tag absolutely does not imply anything about ISO standard C++. It just means you're writing C++. Additional context is provided by the other tags you use on your question. A tag means you intended for that C++ code to run on Windows, so Windows-specific idioms and APIs are acceptable.

For typical Windows programming questions, you would want to use a tag corresponding to the GUI toolkit that you're using, or if you are targeting the Windows API directly, use the tag.

It is a rare case indeed where you would tag a question with the tag, but if you actually are targeting that API, then yes, use the tag. If you're writing the code to run through a C++ compiler, then tag it with . I think what was confusing in your case is that you generally don't write C++ code when targeting the NT Native API. Many of the C++ language features are inappropriate, so you restrict yourself to what is essentially the subset of C++ that corresponds to C. That still doesn't mean you're writing C, though. If it runs through a C++ compiler, it's C++, even if it's a subset of C++ that looks very much like C.

Note that in your case, you were not targeting the NT Native API, so the tag would not have been appropriate. There's a user-mode solution for your problem, and it was the one you were actually looking for. RbMm's depth of knowledge sometimes leads him to propose killing flies with a bazooka, thinking nothing of the consequences because he understands and knows how to deal with them. Or just doesn't care about the problems with calling intentionally undocumented, non-public APIs. You just wanted a regular solution that would be compiled in .