Хорошие C++ разработчики больше чем рпосто синтакс языка программирования: они знают библиотеки, которые идут с ним и они знают, когда использовать особые свойства. В этих видеоуроках C++ основы вы научитесь делать этивещи. Быстрый обзор стандартной библиотеки предоставит вам набор алгоритмов для работы с коллекциями ,и возможностями манипулирования строками. Затем будет рассотрено наверно наиболее важное изменение в языке программирования С++ - лямбда выражения. В конце видеокурса основы С++ вы узнаете всё об исключениях, можном средстве для обработки ошибок, и убедитесь в их важности при управлении памятью и ресурсами.
Содержание
The Standard Library 00:50:02 Introduction 00:55 What is the Standard Library? 01:29 A Little History 02:50 vector 02:12 Demo: vector 11:53 map 01:20 Demo: map 08:04 Other collections 04:17 Sorting and Searching 03:34 Demo: Sorting and Searching 06:19 string 03:27 And Lots More 01:46 Summary 01:56 Lambdas 00:28:36 Introduction 00:38 What is a Lambda? 01:01 Tiny Functions 01:53 Use a Lambda 01:35 Demo: Simple Lambdas 04:46 Returning a Value 01:04 Demo: Returning a Value 02:56 What is a Lambda, Really? 02:31 Capturing 02:56 Demo: Capturing 06:42 Summary 02:34 Exceptions 00:44:30 Introduction 00:40 Errors Happen 02:11 Expected Problems 03:58 Exceptions 02:08 Demo: Exceptions 08:03 try and catch 02:54 What to Throw 02:23 std::exception 02:03 Demo: Throwing and Catching 04:05 Unwinding the Stack 02:51 Demo: Unwinding the Stack 02:22 RAII Revisited 04:27 Exceptions have a Cost 02:58 Summary 03:27 Understanding Legacy Code 00:50:58 Introduction 01:02 typedef 05:21 Function Pointers 07:44 Pointers to Member Functions 03:52 Void Pointers 06:50 C-style Arrays 12:43 C-style Strings 11:08 Summary 02:18
In Starting Out with C++: From Control Structures through Objects, 6/e Gaddis covers control structures, functions, arrays, and pointers before objects and classes. As with all Gaddis texts, clear and easy-to-read code listings, concise and practical real-world examples, and an abundance of exercises appear in every chapter. Introduction to Compute…
В этой книге идея обобщенного программирования демонстрируется на вполне реальном и содержательном примере - на так называемой Стандартной библиотеке шаблонов (STL - Standard Template Library), которая важной составной частью вошла в Международный стандарт языка C++. В тексте последовательно рассматриваются и разъясняются понятия и механизмы, необх…
Software "style" is about finding the perfect balance between overhead and functionality... elegance and maintainability... flexibility and excess. In Exceptional C++ Style, legendary C++ guru Herb Sutter presents 40 new programming scenarios designed to analyze not only the what but the why and help you find just the right balance in your software…
Jay Hilyard, Stephen Teilhet, O’Reilly, January 11, 2008
Completely updated for C# 3.0 and the .NET 3.5 platform, the new edition of this bestseller offers more than 250 code recipes to common and not-so-common problems that C# programmers face every day. Every recipe in the book has been reconsidered with more than a third of them rewritten to take advantage of new C# 3.0 features. If you prefer solutio…