دسترسی نامحدود
برای کاربرانی که ثبت نام کرده اند
برای ارتباط با ما می توانید از طریق شماره موبایل زیر از طریق تماس و پیامک با ما در ارتباط باشید
در صورت عدم پاسخ گویی از طریق پیامک با پشتیبان در ارتباط باشید
برای کاربرانی که ثبت نام کرده اند
درصورت عدم همخوانی توضیحات با کتاب
از ساعت 7 صبح تا 10 شب
دسته بندی: برنامه نويسي ویرایش: نویسندگان: Antony Polukhin سری: ISBN (شابک) : 9781787282247 ناشر: Packt> سال نشر: 2017 تعداد صفحات: 747 زبان: English فرمت فایل : PDF (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود) حجم فایل: 2 مگابایت
در صورت تبدیل فایل کتاب Boost C++ Application Development Cookbook به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.
توجه داشته باشید کتاب Boost C ++ Book Development Cookbook نسخه زبان اصلی می باشد و کتاب ترجمه شده به فارسی نمی باشد. وبسایت اینترنشنال لایبرری ارائه دهنده کتاب های زبان اصلی می باشد و هیچ گونه کتاب ترجمه شده یا نوشته شده به فارسی را ارائه نمی دهد.
با کتابخانه های Boost واقعاً می توانید قدرت C++ را آزاد کنید. یاد بگیرید که برنامهها را سریعتر و بهتر از طریق یک رویکرد کتاب آشپزی بسازید که از هزاران دستور العمل استفاده میکند تا همه آنها را به آسانی جذب و اعمال کنید. بررسی اجمالی - نحوه نوشتن یک برنامه و سپس استفاده از آن در سیستم عامل های لینوکس، ویندوز، مک او اس و اندروید را بررسی می کند - شامل دستور العمل های استفاده روزمره برای چند رشته، شبکه، فرابرنامه نویسی و برنامه نویسی عمومی از توسعه دهنده کتابخانه Boost - از قدرت واقعی Boost و C++ استفاده کنید تا در استفاده از آن در هر پروژه ای زمینه خوبی به دست آورید در جزئیات کتابخانههای Boost توسط متخصصان توسعه داده شدهاند، روی پلتفرمها و معماریهای پردازندههای متعدد آزمایش شدهاند و حاوی راهحلهای قابل اعتماد برای طیف وسیعی از وظایف هستند. این کتاب آشپزی شما را به سفری برای سادهسازی فرآیند توسعه برنامهها میبرد و شما را در نوشتن سریع برنامههای کاربردی راهنمایی میکند. \"Boost C++ Application Development Cookbook\" تعدادی دستور العمل گام به گام واضح را در اختیار شما قرار می دهد که به شما کمک می کند از قدرت واقعی Boost و C++ استفاده کنید و در عین حال زمینه خوبی برای استفاده از آن در هر پروژه ای به شما می دهد. \"Boost C++ Application Development Cookbook\" به کتابخانههای Boost نگاه میکند و رمز و راز و سردرگمی در مورد کتابخانهای که در چه موقعیتی باید استفاده شود را از بین میبرد. این شما را از طریق تعدادی دستور العمل واضح و عملی راهنمایی می کند که به شما کمک می کند تا از راه حل های در دسترس استفاده کنید. Boost C++ Application Development Cookbook با آموزش اصول اولیه کتابخانه های Boost که در حال حاضر بیشتر بخشی از C++11 هستند شروع می شود و فرصتی برای نشت حافظه باقی نمی گذارد. مدیریت منابع تبدیل به یک تکه کیک خواهد شد. خواهیم دید که در زمان کامپایل چه نوع کاری می توان انجام داد و کانتینرهای Boost چه کاری می توانند انجام دهند. آیا فکر می کنید چند رشته ای یک بار است؟ نه با Boost. فکر می کنید نوشتن سرورهای پرتابل و سریع غیرممکن است؟ شما تعجب خواهید کرد! کامپایلرها و سیستم عامل ها خیلی تفاوت دارند؟ نه با Boost. از دستکاری تصاویر گرفته تا نمودارها، دایرکتوری ها، تایمرها، فایل ها، رشته ها همه موضوع جالبی پیدا خواهند کرد. شما همه چیز را برای توسعه برنامه های کاربردی سریع و قابل حمل با کیفیت بالا یاد خواهید گرفت. یک بار برنامه ای بنویسید و سپس می توانید از آن در سیستم عامل های لینوکس، ویندوز، مک او اس، اندروید استفاده کنید. از این کتاب چه چیزی خواهید آموخت با انواع داده های جدید برای استفاده روزمره آشنا شوید از اشاره گرها برای مدیریت منابع استفاده کنید با محاسبات و ادعاهای زمان کامپایل آشنا شوید از کتابخانه های Boost برای Multithreading استفاده کنید با اجرای موازی وظایف مختلف آشنا شوید کارهای رایج مرتبط با رشته را با استفاده از کتابخانه های Boost انجام دهید تمام فرآیندها، محاسبات و تعاملات را به وظایف تقسیم کنید و آنها را به طور مستقل پردازش کنید اصول کار با نمودارها را بیاموزید ماکروهای کمکی مختلف را که برای شناسایی ویژگیهای کامپایلر، پلتفرم و Boost استفاده میشوند، کاوش کنید از ویژگی های انتخاب شده C++11 در C++03 استفاده کنید رویکرد این کتاب از رویکرد کتاب آشپزی پیروی می کند، با دستور العمل های دقیق و عملی که از کتابخانه های Boost استفاده می کند. این کتاب برای چه کسانی نوشته شده است این کتاب برای توسعه دهندگانی است که تازه کار Boost را آغاز کرده اند و به دنبال بهبود دانش خود در مورد Boost و دیدن برخی جزئیات یا ترفندهای غیرمستند هستند. فرض بر این است که شما قبلاً تجربه ای در C++ دارید و همچنین با مبانی STL آشنا هستید. چند فصل به دانش قبلی در مورد چند رشته و شبکه نیاز دارد. انتظار می رود حداقل یک کامپایلر خوب ++C و نسخه کامپایل شده Boost (1.53.0 یا بالاتر توصیه می شود) داشته باشید که در تمرینات این کتاب استفاده می شود.
With Boost libraries you can really unleash the power of C++. Learn to build applications faster and better through a cookbook approach that uses tons of recipes to make it all so easy to assimilate and apply. Overview - Explores how to write a program once and then use it on Linux, Windows, MacOS, and Android operating systems - Includes everyday use recipes for multithreading, networking, metaprogramming, and generic programming from a Boost library developer - Take advantage of the real power of Boost and C++, to get a good grounding in using it in any project In Detail Boost libraries are developed by professionals, tested on multiple platforms and processor architectures, and contain reliable solutions for a wide range of tasks. This Cookbook takes you on a journey of simplifying the process of application development and guides you through writing perfect applications fast. "Boost C++ Application Development Cookbook" provides you with a number of clear step-by-step recipes that will help you take advantage of the real power of Boost and C++, while giving you a good grounding in using it in any project. "Boost C++ Application Development Cookbook" looks at the Boost libraries, and breaks down the mystery and confusion about which library to use in which situation. It will take you through a number of clear, practical recipes that will help you to take advantage of the readily available solutions. Boost C++ Application Development Cookbook starts with teaching the basics of Boost libraries that are now mostly part of C++11 and leave no chance for memory leaks. Managing resources will become a piece of cake. Well see what kind of work can be done at compile time and what Boost containers can do. Do you think multithreading is a burden? Not with Boost. Think writing portable and fast servers is impossible? Youll be surprised! Compilers and operating systems differ too much? Not with Boost. From manipulating images to graphs, directories, timers, files, strings everyone will find an interesting topic. You will learn everything for the development of high quality fast and portable applications. Write a program once and then you can use it on Linux, Windows, MacOS, Android operating systems. What you will learn from this book Get familiar with new data types for everyday use Use pointers to manage resources Get to grips with compile-time computations and assertions Use Boost libraries for multithreading Learn about Parallel execution of different task Perform common string-related tasks using Boost libraries Split all the processes, computations, and interactions to tasks and process them independently Learn the basics of working with graphs Explore different helper macros used to detect compiler, platform and Boost features Use selected C++11 features in C++03 Approach This book follows a cookbook approach, with detailed and practical recipes that use Boost libraries. Who this book is written for This book is great for developers new to Boost, and who are looking to improve their knowledge of Boost and see some undocumented details or tricks. Its assumed that you will have some experience in C++ already, as well being familiar with the basics of STL. A few chapters will require some previous knowledge of multithreading and networking. You are expected to have at least one good C++ compiler and compiled version of Boost (1.53.0 or later is recommended), which will be used during the exercises within this book.
Table of Contents Preface What this book covers What you need for this book Who this book is for Sections Getting ready How to do it… How it works… There’s more… See also Conventions Reader feedback Customer support Downloading the example code Errata Piracy Questions 1. Starting to Write Your Application Introduction Getting configuration options Getting ready How to do it… How it works… There’s more… See also Storing any value in a container/variable Getting ready How to do it… How it works… There’s more… See also Storing multiple chosen types in a container/variable Getting ready How to do it… How it works… There’s more… See also Using a safer way to work with a container that stores multiple chosen types Getting ready How to do it… How it works… There’s more… See also Returning a value or flag where there is no value Getting ready How to do it… How it works… There’s more… See also Returning an array from a function Getting ready How to do it… How it works… There’s more… See also Combining multiple values into one Getting ready How to do it… How it works… There’s more… See also Binding and reordering function parameters Getting ready How to do it… How it works… There’s more… See also Getting a human-readable type name Getting ready How to do it How it works… There’s more… See also Using the C++11 move emulation Getting ready How to do it… How it works… There’s more… See also Making a noncopyable class Getting ready How to do it… How it works… See also Making a noncopyable but movable class Getting ready How to do it… How it works… There’s more… See also Using C++14 and C++11 algorithms Getting ready How to do it… How it works… There’s more… See also 2. Managing Resources Introduction Managing local pointers to classes that do not leave scope Getting started How to do it… How it works… There’s more… See also Reference counting of pointers to classes used across functions Getting ready How to do it… How it works… There’s more… See also Managing pointers to arrays that do not leave scope Getting ready How to do it… How it works… There’s more… See also Reference counting of pointers to arrays used across functions Getting ready How to do it… How it works… There’s more… See also Storing any functional objects in a variable Getting ready How to do it… How it works… There’s more… See also Passing function pointer in a variable Getting ready How to do it… How it works… There’s more… See also Passing C++11 lambda functions in a variable Getting ready How to do it… There’s more… See also Containers of pointers Getting ready How to do it… How it works… There’s more… See also Do it at scope exit! Getting ready How to do it… How it works… There’s more… See also Initializing the base class by the member of the derived class Getting started How to do it… How it works… There’s more… See also 3. Converting and Casting Introduction Converting strings to numbers Getting ready How to do it… How it works… There’s more… See also Converting numbers to strings Getting ready How to do it… How it works… There’s more… See also Converting numbers to numbers Getting ready How to do it… How it works… There’s more… See also Converting user-defined types to/from strings How to do it… How it works… There’s more… See also Converting smart pointers Getting started How to do it… How it works… There’s more… See also Casting polymorphic objects Getting started How to do it… How it works… There’s more… See also Parsing simple input Getting ready How to do it… How it works… There’s more… See also Parsing complex input Getting ready How to do it… How it works… There’s more… See also 4. Compile-Time Tricks Introduction Checking sizes at compile time Getting ready How to do it… How it works… There’s more… See also Enabling function template usage for integral types Getting ready How to do it… How it works… There’s more… See also Disabling function template usage for real types Getting ready How to do it… How it works… There’s more… See also Creating a type from a number Getting ready How to do it… How it works… There’s more… See also Implementing a type trait Getting ready How to do it… How it works… There’s more… See also Selecting an optimal operator for a template parameter Getting ready How to do it… How it works… There’s more… See also Getting a type of expression in C++03 Getting ready How to do it… How it works… There’s more… See also 5. Multithreading Introduction Creating a thread of execution Getting ready How to do it… How it works… There’s more… See also Syncing access to a common resource Getting ready How to do it… How it works… There’s more… See also Fast access to common resource using atomics Getting ready How to do it… How it works… There’s more… See also Creating work_queue class Getting ready How to do it… How it works… There’s more… See also Multiple-readers-single-writer lock Getting ready How to do it… How it works… There’s more… See also Creating variables that are unique per thread Getting ready How to do it… How it works… There’s more… See also Interrupting a thread Getting ready How to do it… How it works… There’s more… See also Manipulating a group of threads Getting ready How to do it… How it works… There’s more… See also Initializing a shared variable safely Getting ready How to do it… How it works… There’s more.. See also Locking multiple mutexes Getting ready How to do it… How it works… There’s more… See also 6. Manipulating Tasks Introduction Before you start Registering a task for an arbitrary data type processing Getting ready How to do it… How it works… There’s more… See also Making timers and processing timer events as tasks Getting ready How to do it… How it works… There’s more… See also Network communication as a task Getting ready How to do it… How it works… There’s more… See also Accepting incoming connections Getting ready How to do it… How it works… There’s more… See also Executing different tasks in parallel Getting started How to do it… How it works… There’s more… See also Pipeline tasks processing Getting ready How to do it… How it works… There’s more… See also Making a nonblocking barrier Getting ready How to do it… How it works… There’s more… See also Storing an exception and making a task from it Getting ready How to do it… How it works… There’s more… See also Getting and processing system signals as tasks Getting ready How to do it… How it works… There is more… See also 7. Manipulating Strings Introduction Changing cases and case-insensitive comparison Getting ready How to do it… How it works… There’s more… See also Matching strings using regular expressions Getting started How to do it… How it works… There’s more… See also Searching and replacing strings using regular expressions Getting ready How to do it… How it works… There’s more… See also Formatting strings using safe printf-like functions Getting ready How to do it… How it works… There’s more… See also Replacing and erasing strings Getting ready How to do it… How it works… There’s more… See also Representing a string with two iterators Getting ready How to do it… How it works… There’s more… See also Using a reference to string type Getting ready How to do it… How it works… There’s more… See also 8. Metaprogramming Introduction Using type vector of types Getting ready How to do it… How it works… There’s more… See also Manipulating a vector of types Getting ready How to do it… How it works… There’s more… See also Getting a function’s result type at compile time Getting ready How to do it… How it works… There’s more… See also Making a higher-order metafunction Getting ready How to do it… How it works… There’s more… See also Evaluating metafunctions lazily Getting ready How to do it… How it works… There’s more… See also… Converting all the tuple elements to strings Getting ready How to do it… How it works… There’s more… See also Splitting tuples Getting ready How to do it… How it works… There’s more… See also Manipulating heterogeneous containers in C++14 Getting ready How to do it… How it works… There’s more… See also 9. Containers Introduction Storing a few elements in a sequence container Getting ready How to do it… How it works… There’s more… See also Storing at most N elements in the sequence container Getting ready How to do it… How it works… There’s more… See also Comparing strings in an ultra-fast manner Getting ready How to do it… How it works… There’s more… See also Using an unordered set and map Getting ready How to do it… How it works… There’s more… See also Making a map, where value is also a key Getting ready How to do it… How it works… There’s more… See also Using multi-index containers Getting ready How to do it… How it works… There’s more… See also Getting benefits of a single linked list and memory pool Getting ready How to do it… How it works… There’s more… See also Using flat associative containers Getting ready How to do it… How it works… There’s more… See also 10. Gathering Platform and Compiler Information Introduction Detecting an OS and compiler Getting ready How to do it… How it works… There’s more… See also Detecting int128 support Getting ready How to do it… How it works… There’s more… See also Detecting and bypassing disabled RTTI Getting ready How to do it… How it works… There’s more… See also Writing metafunctions using simpler methods Getting ready How to do it… How it works… There’s more… See also Reducing code size and increasing performance of user-defined types (UDTs) in C++11 Getting ready How to do it… How it works… There’s more… See also The portable way to export and import functions and classes Getting ready How to do it… How it works… There’s more… See also Detecting the Boost version and getting latest features Getting ready How to do it… How it works… There’s more… See also 11. Working with the System Introduction Listing files in a directory Getting ready How to do it… How it works… There’s more… See also Erasing and creating files and directories Getting ready How to do it… How it works… There’s more… See also Writing and using plugins Getting ready How to do it… How it works… There’s more… See also Getting backtrace – current call sequence Getting started How to do it… How it works… There’s more… See also Passing data quickly from one process to another Getting ready How to do it… How it works… There’s more… See also Syncing interprocess communications Getting ready How to do it… How it works… There’s more… See also Using pointers in a shared memory Getting ready How to do it… How it works… There’s more… See also The fastest way to read files Getting ready How to do it… How it works… There’s more… See also Coroutines - saving the state and postponing the execution Getting ready How to do it… How it works… There’s more… See also 12. Scratching the Tip of the Iceberg Introduction Working with graphs Getting ready How to do it… How it works… There’s more… See also Visualizing graphs Getting ready How to do it… How it works… There’s more… See also Using a true random number generator Getting started How to do it… How it works… There’s more… See also Using portable math functions Getting ready How to do it… How it works… There’s more… See also Writing test cases Getting ready How to do it… How it works… There’s more… See also Combining multiple test cases in one test module Getting ready How to do it… How it works… There’s more… See also Manipulating images Getting ready How to do it… How it works… There’s more… See also