-
May 23rd, 2018, 07:02 AM
#1
C++ Core Guidelines
Bjarne Stroustrup (the inventor of c++) and Herb Sutter (ISO c++ committee [WG21] convenor) have produced a set of c++ core guidelines for using modern c++ 'well'. These guidelines are available at https://github.com/isocpp/CppCoreGui...eGuidelines.md
To compliment these, a Guideline Support Library (GSL) has been produced which provides additional c++ capabilities (such as span<>, not_null<> etc). These GSL utilities are available at https://github.com/Microsoft/GSL. Note that these are NOT Microsoft specific - but Herb Sutter works for Microsoft!
For MS VS, a c++ Core Guidelines checker is available. See https://docs.microsoft.com/en-us/vis...lines-checkers
All advice is offered in good faith only. All my code is tested (unless stated explicitly otherwise) with the latest version of Microsoft Visual Studio (using the supported features of the latest standard) and is offered as examples only - not as production quality. I cannot offer advice regarding any other c/c++ compiler/IDE or incompatibilities with VS. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/ and can be used without reference or acknowledgement. Also note that I only provide advice and guidance via the forums - and not via private messages!
C++17 Compiler: Microsoft VS2019 (16.8.4)
-
December 5th, 2018, 10:07 AM
#2
Re: C++ Core Guidelines
This seems really helpful! I must read it since I started learning C++ just from practice (coming from C), without reading any books or guides (well I watched some Youtube videos too ). I hope they cover some things about dlls too
-
December 6th, 2018, 04:25 AM
#3
Re: C++ Core Guidelines
 Originally Posted by babaliaris
This seems really helpful! I must read it since I started learning C++ just from practice (coming from C), without reading any books or guides (well I watched some Youtube videos too  ). I hope they cover some things about dlls too 
No - the ones listed won't cover .dll as that is specific to Windows. For .dll coverage you need a book that covers windows programming. There are a few available but AFAIK their .dll coverage is just for c code. Have a look at the books by Jeffrey Richter.
All advice is offered in good faith only. All my code is tested (unless stated explicitly otherwise) with the latest version of Microsoft Visual Studio (using the supported features of the latest standard) and is offered as examples only - not as production quality. I cannot offer advice regarding any other c/c++ compiler/IDE or incompatibilities with VS. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/ and can be used without reference or acknowledgement. Also note that I only provide advice and guidance via the forums - and not via private messages!
C++17 Compiler: Microsoft VS2019 (16.8.4)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
On-Demand Webinars (sponsored)
|