Books: 172

C/C++

CoverTitleYear
If you know a little bit about financial mathematics but don’t yet know a lot about programming, then C++ for Financial Mathematics is for you. C++ is an essential skill for many jobs in quantitative finance, but learning it can be a daunting prospect. This book gathers together everything you need more » to know to price derivatives in C++ without unnecessary complexities or technicalities. It leads the reader step-by-step from programming novice to writing a sophisticated and flexible financial mathematics library. At every step, each new idea is motivated and illustrated with concrete financial examples. As employers understand, there is more to programming than knowing a computer language. As well as covering the core language features of C++, this book teaches the skills needed to write truly high quality software. These include topics such as unit tests, debugging, design patterns and data structures. The book teaches everything you need to know to solve realistic financial problems in C++. It can be used for self-study or as a textbook for an advanced undergraduate or master’s level course. « less
2017
Sams Teach Yourself
In just one hour a day, you’ll have all the skills you need to begin programming in C++. With this complete tutorial, you’ll quickly master the basics, and then move on to more advanced features and concepts. Completely updated for the C++14 standard, with a preview of C++17, this book presents the language more » from a practical point of view, helping you learn how to use C++ to create faster, simpler, and more efficient C++ applications. * Master the fundamentals of C++ and object-oriented programming * Understand how C++ features help you write compact and efficient code using concepts such as lambda expressions, move constructors, and assignment operators * Learn best practices and avoid pitfalls via useful Do’s and Don’ts * Learn the Standard Template Library, including containers and algorithms used in most real-world C++ applications * Test your knowledge and expertise with exercises at the end of every lesson Learn on your own time, at your own pace * No previous programming experience required * Write fast and powerful C++ programs, compile the source code, and create executable files * Learn object-oriented programming concepts such as encapsulation, abstraction, inheritance, and polymorphism * Use the Standard Template Library’s algorithms and containers to write feature-rich yet stable C++ applications * Learn how automatic type deduction helps simplify C++ code * Develop sophisticated programming techniques using lambda expressions, smart pointers, and move constructors * Master the features of C++ by learning from programming experts * Learn C++ features that allow you to program compact and high-performance C++ applications * Preview what’s new in C++17 Contents at a Glance Part I: The Basics Lesson 1: Getting Started Lesson 2: The Anatomy of a C++ Program Lesson 3: Using Variables, Declaring Constants Lesson 4: Managing Arrays and Strings Lesson 5: Working with Expressions, Statements, and Operators Lesson 6: Controlling Program Flow Lesson 7: Organizing Code with Functions Lesson 8: Pointers and References Explained Part II: Fundamentals of Object-Oriented C++ Programming Lesson 9: Classes and Objects Lesson 10: Implementing Inheritance Lesson 11: Polymorphism Lesson 12: Operator Types and Operator Overloading Lesson 13: Casting Operators Lesson 14: An Introduction to Macros and Templates Part III: Learning the Standard Template Library (STL) Lesson 15: An Introduction to the Standard Template Library Lesson 16: The STL String Class Lesson 17: STL Dynamic Array Classes Lesson 18: STL list and forward_list Lesson 19: STL Set Classes Lesson 20: STL Map Classes Part IV: More STL Lesson 21: Understanding Function Objects Lesson 22: Lambda Expressions Lesson 23: STL Algorithms Lesson 24: Adaptive Containers: Stack and Queue Lesson 25: Working with Bit Flags Using STL Part V: Advanced C++ Concepts Lesson 26: Understanding Smart Pointers Lesson 27: Using Streams for Input and Output Lesson 28: Exception Handling Lesson 29: Going Forward Part VI: Appendixes Appendix A: Working with Numbers: Binary and Hexadecimal Appendix B: C++ Keywords Appendix C: Operator Precedence Appendix D: ASCII Codes Appendix E: Answers « less
2017
Step-By-Step C++ Book 2
A COMPREHENSIVE GUIDE WITH 80+ EXAMPLES The second book in the Step-By-Step C++ Series delves further into practical C++ programming. This book serves as a teaching guide and also a reference manual to accompany you through this wonderful world of programming. Author Nathan Clark shares his nearly more » 20 years’ experience in this clear, concise and easy to follow guide. WHAT THIS BOOK OFFERS Detailed Descriptions Each topic is broken down into small manageable sections where each concept is explained in detail. We look at the different variations and types available, what the various return values mean and even how to avoid common errors. 86 Practical Examples With each concept, we provide one or more example to illustrate the topic in a way that makes it easy to understand. We break examples down into their basic workings, and provide the output for you to compare to your own results. Proper Syntax We focus on the specific syntax in each topic, as well as alternative variations and how each functions. KEY TOPICS * Data Types * Variable Scope * Constants and Literals * Modifier Types * Operators * Numbers * Strings * Functions * Classes and Objects * Arrays * Pointers * Data Structure * Date and Time « less
2017
Sustainable Software Development Patterns and Best Practices with C++ 17
Write maintainable, extensible, and durable software with modern C++. This book is a must for every developer, software architect, or team leader who is interested in good C++ code, and thus also wants to save development costs. If you want to teach yourself about writing clean C++, Clean C++ is exactly more » what you need. It is written to help C++ developers of all skill levels and shows by example how to write understandable, flexible, maintainable, and efficient C++ code. Even if you are a seasoned C++ developer, there are nuggets and data points in this book that you will find useful in your work. If you don't take care with your code, you can produce a large, messy, and unmaintainable beast in any programming language. However, C++ projects in particular are prone to be messy and tend to slip into bad habits. Lots of C++ code that is written today looks as if it was written in the 1980s. It seems that C++ developers have been forgotten by those who preach Software Craftsmanship and Clean Code principles. The Web is full of bad, but apparently very fast and highly optimized C++ code examples, with cruel syntax that completely ignores elementary principles of good design and well-written code. This book will explain how to avoid this scenario and how to get the most out of your C++ code. You'll find your coding becomes more efficient and, importantly, more fun. What You'll Learn * Gain sound principles and rules for clean coding in C++ * Carry out test driven development (TDD) * Discover C++ design patterns and idioms * Apply these design patterns Who This Book Is For Any C++ developer and software engineer with an interest in producing better code. « less
2017
KEY FEATURES * Get hands-on experience with the Ardruino board and learn to control it with your programming skills * Learn the essential concepts of C such as variables, data structures, functions, loops, and pointers * Work with electronic devices such as LEDs, switches, and motors and connect them more » to Arduino using C BOOK DESCRIPTION Are you excited to explore the small yet powerful Arduino board, but are you wondering how to explore it without having programming and/or microcontroller skills? Then this book is what you are looking for. It will not only help you explore the world of Arduino with C programming, but also aid you in controlling your Arduino board. The book will start with the fundamentals of C programming and programming topics, such data types, functions, decision making, program loops, pointers, and structures, with the help of an Arduino board. Then you will get acquainted with Arduino interactions with sensors, LEDs, and autonomous systems and setting up the Arduino environment. Moving on you will also learn how to work on the digital and analog I/O, establish serial communications with autonomous systems, and integrate with electronic devices. By the end of the book, you will be able to make basic projects such as LED cube and smart weather system that leverages C. WHAT YOU WILL LEARN * Play with mathematical operations using C * Use logical operations and loops to play with LEDs and the Arduino board * Create custom functions using C and connect an SD card to the Arduino * Use Object-oriented Programming to connect a GSM module to the Arduino board * Play with an LCD board and Servo using standard Arduino libraries * Build projects using Arduino such as a LED cube, a smart weather system, and home security * Identify and fix common errors on an Arduino board « less
2017
This book is a second course in C/C++. It covers topics that you would normally cover in such a course, and includes pointers, user-defined data types (enumerations, structures, classes, etc.). Therefore, it assumes that you have basic knowledge of C and C++ syntax; namely regarding •Primitive data more » types •Initialization (and what is automatically initialized, and what is not) •Literal values •Escape sequences •Variables and constants •The basic operators, to include assignment, arithmetic operators, relational, logical, plus the tertiary, and the binary scope resolution operator. •Arrays •cstrings, and some functions associated with them (strcpy, strcat, strcmp…) •Statements for decision making; like if-else, and switch-break •Statements for looping, like while, do-while, and the for statement •Console input & output (cout and cin), including some member functions •Some preprocessor directives, like #include and #define •The ‘using’ statement •Functions and function prototypes (signatures), parameters, and return values (including void) •Passing by value and by reference into functions •The scope and lifetime of variables and constants •Sorting by using a basic ‘bubble sort’ This text moves forward with this knowledge assumed. Please see the table of contents for a more complete listing of topics. Development Environment: This code has a Microsoft bend to it. Microsoft has ‘safe’ versions of C/C++ functions which are offered in addition to/instead of their standard counterparts. These functions are used occasionally in some programs. All the code was developed in some version of Visual Studio, and has been tested in Visual Studio 2015. « less
2016
Develop real-world applications in Windows
KEY FEATURES * Create diverse applications featuring the versatility of Small Windows C++ library * Learn about object-oriented programming in Windows and how to develop a large object-oriented class library in C++ * Understand how to tackle application-specific problems along with acquiring a deep more » understanding of the workings of Windows architecture BOOK DESCRIPTION It is critical that modern developers have the right tools to build practical, user-friendly, and efficient applications in order to compete in today s market. Through hands-on guidance, this book illustrates and demonstrates C++ best practices and the Small Windows object-oriented class library to ease your development of interactive Windows applications. Begin with a focus on high level application development using Small Windows. Learn how to build four real-world applications which focus on the general problems faced when developing graphical applications. Get essential troubleshooting guidance on drawing, spreadsheet, and word processing applications. Finally finish up with a deep dive into the workings of the Small Windows class library, which will give you all the insights you need to build your own object-oriented class library in C++. WHAT YOU WILL LEARN * Develop advanced real-world applications in Windows * Design and implement a graphical object-oriented class library in C++ * Get to grips with the workings of the integral aspects of the Win32 API, such as mouse input, drawing, cut-and-paste, file handling, and drop files * Identify general problems when developing graphical applications as well as specific problems regarding drawing, spreadsheet, and word processing applications * Implement classes, functions, and macros of the object-oriented class library developed in the book and how we implement its functionality by calling functions and macros in the Win32 API ABOUT THE AUTHOR Stefan Björnander holds a master's degree in computer science, and has worked with software development for many years. He has lectured on programming for the industry and universities. He has also authored Microsoft Visual C++ Windows Applications by Example for Packt Publishing, which gained great acclaim. TABLE OF CONTENTS 1. Introduction 2. Hello, Small World! 3. Building a Tetris Application 4. Working with Shapes and Figures 5. The Figure Hierarchy 6. Building a Word Processor 7. Keyboard Input and Character Calculation 8. Building a Spreadsheet Application 9. Formula Interpretation 10. The Framework 11. The Document 12. The Auxiliary Classes 13. The Registry, Clipboard, Standard Dialogs, and Print Preview 14. Dialogs, Controls, and Page Setup 15. Rational and Complex Numbers « less
2016
C Programming: The Tutorial is the ideal book for learning the C language for students, IT professionals or autodidacts without assuming any prior programming experience. Concepts are smoothly introduced while thoroughly described with a great number of examples and figures. The author willfully takes more » the side of focusing on basic and short examples highlighting the features being described instead of long and wearing examples. Trickier and essential points are not fully conveyed in a single “dose” as it is generally done. Instead, they are described with different perspectives in different sections, each time adding new pieces of information in order to tame them step-by-step efficiently. The book details the most important features of the C language and C libraries as specified by the standards C90 and C99. A dedicated chapter introducing C11 gives the most useful new features that can be exploited by beginners and intermediate programmers in C. C Programming: The Tutorial not only does it set the learning up a sound basis but goes beyond the description of the C language. If, in the first part of the book, it describes the C language, it provides valuable material in the last three chapters in which it explains, in Linux and UNIX systems, how to compile C program with gcc, manage compilations with make, improve programs with additional tools such as GDB, cope with the versions of programs with SCCS and RCS. « less
2016
Crash Course
EVER YOU ALWAYS WANTED TO BECOME PROFICIENT IN C++ PROGRAMMING? GET THIS CRASH COURSE NOW! CONGRATULATIONS ON DOWNLOADING C++ PROGRAMMING FOR BEGINNERS: CRASH COURSE AND THANK YOU FOR DOING SO. IN THIS BOOK WE WILL DISCUSS: WHAT C++ IS, HOW TO USE C++ AND SHOWING BASIC CODE FOR YOU TO USE AS A BASIS more » FOR LEARNING THE PROGRAM. IT WILL HELP BUILD THE FOUNDATION YOU NEED TO TRULY LEARN HOW YOU CAN USE C++ TO CODE AND PERHAPS BUILD YOUR OWN PROGRAM OR APPLICATION IN THE NEAR FUTURE. THERE ARE A LOT OF BOOKS ON THIS SUBJECT ON THE MARKET. THIS ONE MAKES A DIFFERENCE FOR IT SIMPLE AND FRIENDLY STYLE OF EXPLANATIONS. PLEASE ENJOY! CONTENT: * Introduction * Chapter one: What is C + + * Chapter two: A Brief Intro to Programming Languages * Chapter three: Introduction to C + + * Chapter four: Intro to Development * Chapter five: How to Install an IDE (Integrated Development Environment) * Chapter six: Preparing to Compile your First Program * Chapter seven: Building Configurations * Chapter eight: Object Oriented Programming * Chapter nine: Encapsulation and Access Functions * Conclusion DON'T WASTE TIME: TAKE ACTION NOW! « less
2016
Simple, Short, and Straightforward Way of Learning C++ Programming
This C++ Programming Language book is carefully formatted for kindle edition. Read on mac, pc, smart phone, tabs, fire, etc. This book is for absolute beginners with or without prior knowledge in programming, as this book uses Simple words, Short sentences, and Straightforward paragraphs. The triple more » S way of learning C++ programming. C++ (pronounced as cee plus plus) is a general-purpose programming language. The main object of C++ is to add object-orientation to its predecessor C language. C++ has imperative, object-oriented and generic programming features, while also providing facilities for low-level memory manipulation. There are also other useful features added to C++ such as inheritance and polymorphism. The topics covered in this book includes brief introduction to C++ programming, variables, data types, control structures, functions, pointers, and file management of external files. This book starts its discussion from short history to installation of the needed software resource and a step by step screen shots of how to write C++ programming code, compile and execute C++ programs. It presents graphical representation of algorithms for simpler learning. This book is packed with working and running C++ program samples and after reading this book, the reader would be able to develop and create C++ language programs based particularly from problems given in computer science courses, hence, adopting to other programming language will be a lot easier. This book is your initial step in your programming career. Summary of topics covered: Chapter 1 - Starting C++ Language Programming Brief history of C++ Reasons to use C++ Beginning to Program in C++ Language Installing the Dev-C++ for Windows Installing compiler for Linux Chapter 2 - Our First C++ Program The components of a C++ program Writing, compiling, and running our first program using Dev-C++ for Windows Correcting errors Writing, compiling, and running our first program with Linux Statements Null Statements White spaces Chapter 3 - Storing Data: Variables and Data Types in C++ Variable Scope of variables Constants typedef declarations 4) Chapter 4 - Fundamentals of Input And Output in C++ Displaying text on-screen Accepting user input 5) Chapter 5 - Arrays and Strings in C++ Single-Dimensional Multi-Dimensional Array The C-Style Character String C Strings' pre-defined functions in C++ Chapter 6 - Mathematical Operations in C++ Expressions Operators Assignment Mathematical Precedence level Relational Logical Type Casting Pre-defined Mathematical Functions Chapter 7 - Conditional Statements in C++ The if() statement Single-alternative Dual-alternative Multiple-alternative Nested if() statement The switch() statement Chapter 8 - Looping Statements in C++ Counter-controlled loop Nested for() loop statement Condition-controlled loop Pre-test loop Post-test loop The Infinite Loop Chapter 9 - User-Defined Functions in C Language User-defined function User-defined function prototype User-defined function definition Calling a user-defined function Things to consider in functions Chapter 10 - User-Defined Data Types in C++ Structures Accessing Structure Members Declaration and definition of structure Chapter 11 - Classes in C++ Creating New Types Classes and Members Definition of a Class member method(s) in C++ Defining an Object of a class Accessing Class Members Private versus public access controls Constructor and destructor Chapter 12 - Exception Handling in C++ How Exceptions Are Used The steps in using exceptions Chapter 13 - Pointer in C++ Pointer Declaration How pointers works? Pointer Arithmetic Chapter 14 - File Management in C++ C++ Files and Streams Opening a File Closing a File Writing to a File Reading from a File Self-assessment for each chapter. « less
2016