حوزه برنامه نویسی | programming

Sams Teach Yourself C++ in 24 Hours

Sams Teach Yourself C++ in 24 Hours

در کتاب فوق در ۲۴ درس یک ساعته یا کمتر می توانید اصول برنامه نویسی با C++ را که یکی از زبان های برنامه نویسی محبوب و قدرتمند است بیاموزید.

در این کتاب می آموزید:

  • نصب و استفاده از یک کامپایلر C++ برای ویندوز، مک یا لینوکس
  • ساخت برنامه های شی گرا در C++
  • مفاهیم اصلی C++ از قبیل کلاس ها، آرایه ها و اشاره گرها
  • اضافه کردن قابلیت های غنی با لیست های پیوندی و قالب ها
  • اشکال زدایی برنامه ها برای کدهای بی عیب و نقص
  • یادگیری استثنا و تکنیک های بررسی خطا
  • کشف موارد جدید در C++0x، نسخه بعدی از C++

سرفصل ها:

Part I: Beginning C++1

Part II: Classes

Part III: Memory Management

Part IV: Advanced C++1

Part V: Inheritance and Polymorphism

Part VI: Special Topics

Part VII: Appendixes


نویسندگان:Rogers Cadenhead, Jesse Liberty

ناشر: Sams Publishing

سال نشر: ۲۰۱۶

تعداد صفحات:۴۸۰


دانلود رایگان کتاب

کتاب Data Structures and Algorithms in Python

کتاب Data Structures and Algorithms in Python

Based on the authors’ market leading data structures booksin Java and C++, this book offers a comprehensive, definitiveintroduction to data structures in Python by authoritative authors.

Data Structures and Algorithms in Python is the firstauthoritative object-oriented book available for Python datastructures. Designed to provide a comprehensive introduction todata structures and algorithms, including their design, analysis,and implementation, the text will maintain the same generalstructure as Data Structures and Algorithms in Java andData Structures and Algorithms in C++.

  • Begins by discussing Python’s conceptually simple syntax,which allows for a greater focus on concepts.
  • Employs a consistent object-oriented viewpoint throughout thetext.
  • Presents each data structure using ADTs and their respectiveimplementations and introduces important design patterns as a meansto organize those implementations into classes, methods, andobjects.
  • Provides a thorough discussion on the analysis and design offundamental data structures.
  • Includes many helpful Python code examples, with source codeprovided on the website.
  • Uses illustrations to present data structures and algorithms,as well as their analysis, in a clear, visual manner.
  • Provides hundreds of exercises that promote creativity, helpreaders learn how to think like programmers, and reinforceimportant concepts.
  • Contains many Python-code and pseudo-code fragments, andhundreds of exercises, which are divided into roughly 40%reinforcement exercises, 40% creativity exercises, and 20%programming projects.


دانلود رایگان کتاب

کتاب Dive into Python 3

کتاب Dive into Python 3

Mark Pilgrim‘s Dive Into Python 3 is a hands-on guide to Python 3 and its differences from Python 2. As in the original book, Dive Into Python, each chapter starts with a real, complete code sample, proceeds to pick it apart and explain the pieces, and then puts it all back together in a summary at the end.

This book includes:

  • Example programs completely rewritten to illustrate powerful new concepts now available in Python 3: sets, iterators, generators, closures, comprehensions, and much more
  • A detailed case study of porting a major library from Python 2 to Python 3
  • A comprehensive appendix of all the syntactic and semantic changes in Python 3

This is the perfect resource for you if you need to port applications to Python 3, or if you like to jump into languages fast and get going right away.

دانلود رایگان کتاب


Microservices in .NET Core

Microservices in .NET Core


Microservices in .NET Core provides a complete guide to building microservice applications. After a crystal-clear introduction to the microservices architectural style, the book will teach you practical development skills in that style, using OWIN and Nancy.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Technology

Microservice applications are built by connecting single-capability, autonomous components that communicate via APIs. These systems can be challenging to develop because they demand clearly defined interfaces and reliable infrastructure. Fortunately for .NET developers, OWIN (the Open Web Interface for .NET), and the Nancy web framework help minimize plumbing code and simplify the task of building microservice-based applications.

About the Book

Microservices in .NET Core provides a complete guide to building microservice applications. After a crystal-clear introduction to the microservices architectural style, the book will teach you practical development skills in that style, using OWIN and Nancy. You’ll design and build individual services in C# and learn how to compose them into a simple but functional application back end. Along the way, you’ll address production and operations concerns like monitoring, logging, and security.

What’s Inside

  • Design robust and ops-friendly services
  • Build HTTP APIs with Nancy
  • Expose events via feeds with Nancy
  • Use OWIN middleware for plumbing

About the Reader

This book is written for C# developers. No previous experience with microservices required.

About the Author

Christian Horsdal Gammelgaard is a Nancy committer and a Microsoft MVP.

Table of Contents


    1. Microservices at a glance
    2. A basic shopping cart microservice


    1. Identifying and scoping microservices
    2. Microservice collaboration
    3. Data ownership and data storage
    4. Designing for robustness
    5. Writing tests for microservices


    1. Introducing OWIN: writing and testing OWINmiddleware
    2. Cross-cutting concerns: monitoring and logging
    3. Securing microservice-to-microservicecommunicatio​n
    4. Building a reusable microservice platform


  1. Creating applications over microservices

دانلود رایگان کتاب

MySQL Connector/Python Revealed

MySQL Connector/Python Revealed

Move data back and forth between database and application. The must-have knowledge in this book helps programmers learn how to use the official driver, MySQL Connector/Python, by which Python programs communicate with the MySQL database. 

This book takes you from the initial installation of the connector through basic query execution, then through more advanced topics, error handing, and troubleshooting. The book covers both the traditional API as well as the new X DevAPI. The X DevAPI is part of MySQL 8.0 and is an API that can be used with connectors for several programming languages and is used from the command-line interface known as MySQL Shell. You will learn to use the connector by working through code examples and following a discussion of how the API calls work. 

By the end of the book, you will be able to use MySQL as the back-end storage for your Python programs, and you’ll even have the option of choosing between SQL and NoSQL interfaces. 

What You’ll Learn

Install MySQL Connector/Python

Connect to MySQL and configure database access

Execute SQL and NoSQL queries from your Python program

Trap errors and troubleshoot problems

Store data from different languages using MySQL’s character set support

Work in the X DevAPI that underlies all of MySQL’s language connectors

Who This Book Is For

Developers familiar with Python who are looking at using MySQL as the back-end database. No prior knowledge of Connector/Python is assumed, but readers should be familiar with databases and the Python programming language. 


دانلود رایگان کتاب

Learn to Program with Python 3

Learn to Program with Python 3

Move from zero knowledge of programming to comfortably writing small to medium-sized programs in Python. Fully updated for Python 3, with code and examples throughout, the book explains Python coding with an accessible, step-by-step approach designed to bring you comfortably into the world of software development.

Real–world analogies make the material understandable, with a wide variety of well-documented examples to illustrate each concept.  Along the way, you’ll develop short programs through a series of coding challenges that reinforce the content of the chapters.

Learn to Program with Python 3 guides you with material developed in the author’s university computer science courses. The author’s conversational style feels like you’re working with a personal tutor. All material is thoughtfully laid out, each lesson building on previous ones. 

What You’ll Learn  

Understand programming basics with Python, based on material developed in the author’s college courses

Learn core concepts: variables, functions, conditionals, loops, lists, strings, and more

Explore example programs including simple games you can program and customize

Build modules to reuse your own code

Who This Book Is For
This book assumes no prior programming experience, and would be appropriate as text for a high school or college introduction to computer science.
دانلود رایگان کتاب
Beginning C++ Programming

Beginning C++ Programming

Book Description

C++ has come a long way and is now adopted in several contexts. Its key strengths are its software infrastructure and resource-constrained applications, including desktop applications, servers, and performance-critical applications, not to forget its importance in game programming.

Despite its strengths in these areas, beginners usually tend to shy away from learning the language because of its steep learning curve.

The main mission of this book is to make you familiar and comfortable with C++. You will finish the book not only being able to write your own code, but more importantly, you will be able to read other projects.

It is only by being able to read others’ code that you will progress from a beginner to an advanced programmer. This book is the first step in that progression.

The first task is to familiarize you with the structure of C++ projects so you will know how to start reading a project. Next, you will be able to identify the main structures in the language, functions, and classes, and feel confident being able to identify the execution flow through the code.

You will then become aware of the facilities of the standard library and be able to determine whether you need to write a routine yourself, or use an existing routine in the standard library.


دانلود رایگان کتاب

C coding: Ultimate Step-By-Step Guide To Learning C Programming


This tutorial is designed for the beginner programmer; someone that has not touched or seen C. This tutorial will walk you through the basics of all the programming concepts with C syntax alongside.

For anyone that has programmed with another language before this may seem simplistic but it’s just designed as foundation tutorial for those who have not coded before.

Each chapter will contain a certain number of relevant topics with illustrations and exercises where necessary, this will all be finished off with an end of chapter quiz for an easy and enjoyable learning

Later in the tutorial there will be the advanced chapters, they are explained with enough detail but it is always recommended when learning something new or difficult, to read around the topics, this will help you to obtain a wide variety of explanation and viewpoints.

C is a wonderful language to start learning. Even though C is considered a high-level language it has aspects that are deemed low level, this allows deep control of a computer’s hardware, and because of this low-level nature it provides a brilliant platform to understand the general innerworkings of languages and how the computers deal with CPU commands, memory and storage.

This understanding will allow you to create efficient backwards-compatible computer programs.


دانلود رایگان کتاب

Gray Hat Python: Python Programming for Hackers and Reverse Engineers 1st Edition

Gray Hat Python: Python Programming for Hackers and Reverse Engineers 1st Edition

Python is fast becoming the programming language of choice for hackers, reverse engineers, and software testers because it’s easy to write quickly, and it has the low-level support and libraries that make hackers happy.

But until now, there has been no real manual on how to use Python for a variety of hacking tasks. You had to dig through forum posts and man pages, endlessly tweaking your own code to get everything working. Not anymore.

Gray Hat Python explains the concepts behind hacking tools and techniques like debuggers, trojans, fuzzers, and emulators. But author Justin Seitz goes beyond theory, showing you how to harness existing Python-based security tools – and how to build your own when the pre-built ones won’t cut it.

You’ll learn how to:

Automate tedious reversing and security tasks

Design and program your own debugger

Learn how to fuzz Windows drivers and create powerful fuzzers from scratch

Have fun with code and library injection, soft and hard hooking techniques, and other software trickery

Sniff secure traffic out of an encrypted web browser session

Use PyDBG, Immunity Debugger, Sulley, IDAPython, PyEMU, and more


دانلود رایگان کتاب

Learn Functional Programming with Elixir

Learn Functional Programming with Elixir

Elixir’s straightforward syntax and this guided tour give you a clean, simple path to learn modern functional programming techniques. No previous functional programming experience required!

This book walks you through the right concepts at the right pace, as you explore immutable values and explicit data transformation, functions, modules, recursive functions, pattern matching, high-order functions, polymorphism, and failure handling, all while avoiding side effects.

Don’t board the Elixir train with an imperative mindset! To get the most out of functional languages, you need to think functionally. This book will get you there.

Functional programming offers useful techniques for building maintainable and scalable software that solves today’s difficult problems. The demand for software written in this way is increasing – you don’t want to miss out.

In this book, you’ll not only learn Elixir and its features, you’ll also learn the mindset required to program functionally. Elixir’s clean syntax is excellent for exploring the critical skills of using functions and concurrency.

Start with the basic techniques of the functional way: working with immutable data, transforming data in discrete steps, and avoiding side effects. Next, take a deep look at values, expressions, functions, and modules.

Then extend your programming with pattern matching and flow control with case, if, cond, and functions. Use recursive functions to create iterations. Work with data types such as lists, tuples, and maps.

Improve code reusability and readability with Elixir’s most common high-order functions. Explore how to use lazy computation with streams, design your data, and take advantage of polymorphism with protocols.

Combine functions and handle failures in a maintainable way using Elixir features and libraries.

Learn techniques that matter to make code that lives harmoniously with the language.

What You Need:

You’ll need a computer and Elixir 1.4 or newer version installed. No previous functional programming or Elixir experience is required. Some experience with any programming language is recommended.


دانلود رایگان کتاب