I would like to ask do You know any programs similar to StyleCop but for C++?
You can still use this in Visual Studio 2019, but the current recommended way to use StyleCop is to use the Roslyn-based analyzers. These analyzers will continue to be supported in the future, whereas the Visual Studio plugin and the NuGet package will no longer receive any major improvements.
right-click on a project in Project Explorer. select "StyleCop Settings" on the "Rules" tab of the dialog that opens, uncheck the "C#" root of the Enabled rules tree.
In your StyleCop install, there's a Settings. StyleCop file. You can edit this to turn off rules globally. Drag that file onto the Settings Editor executable in that file to edit it.
See A free tool to check C/C++ source code against a set of coding standards?. This looks to be what you are after, although I don't know the full capability of the StyleCop tool.
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