Limit search to available items
Book Cover
E-book
Author Bhattacharyya, Avi, author.

Title Cybernetics in C++ / Avi Bhattacharyya
Published Aalborg : River Publishers, 2018

Copies

Description 1 online resource (666 pages)
Series River Publishers Series in Software Engineering Ser
River Publishers Series in Software Engineering Ser
Contents Front Cover; Half Title Page; RIVER PUBLISHERS SERIES IN SOFTWARE ENGINEERING; Title Page; Copyright Page; CONTENTS AT A GLANCE (1); CONTENTS AT A GLANCE (2); CONTENTS; PREFACE; DEDICATION; LIST OF FIGURES; LIST OF PROGRAMS; INTRODUCTION; PART I -- IMPERATIVE PROGRAMMING (1); 1. GETTING STARTED; 1.1 SETTING UP THE PROGRAMMING ENVIRONMENT; 1.1.1 SOFTWARE IDE; 1.2 HELLO WORLD; 1.3 WRITING C++ SOURCE CODE; 1.3.1 COMMENTS; 1.3.1.1 Style With Primitive Tools; 1.3.2 SOURCE CODE FILES; 1.4 SUBSEQUENT STAGES IN BUILDING A PROGRAM; 1.4.1 COMPILATION; 1.4.1.1 Object Files; 1.4.2 LINKING; 1.4.3 RUNNING
1.5 DEBUGGING (1)1.5.1 WHAT ARE BUGS/ERRORS?; 1.5.2 COMPILE-TIME ERRORS; 1.5.2.1 Compiler Errors; 1.5.2.2 Compiler Warning; 1.5.3 RUNTIME ERRORS; 2. DATA TYPES & OPERATORS; 2.1 LEARNING BY EXAMPLE; 2.1.1 PERFORMING CALCULATIONS; 2.1.2 INTERACTING WITH THE CONSOLE WINDOW; 2.2 VARIABLES; 2.2.1 NAMING VARIABLES; 2.2.1.1 Rules; 2.2.1.2 Guidelines; 2.2.2 INITIALISING A VARIABLE; 2.2.2.1 Using Assignment Equals =; 2.2.2.2 Using Parentheses (); 2.2.2.3 Which is Preferable?; 2.2.3 ENSURING READ ONLY STATUS USING CONST; 2.3 PRIMITIVE DATA TYPES; 2.3.1 TYPE CASTING
2.3.1.1 Prospective Problems with certain types2.3.1.2 Static Casting of Types; 2.3.1.3 Solution with Type Casting; 2.3.1.4 C Style Casts; 2.4 OPERATORS; 2.4.1 Mathematical Operators; 2.4.1.1 Arithmetic Operators; 2.4.1.2 Assignment & Equality Operators; 2.4.1.2.1 Assignment Operations using =; 2.4.1.2.2 = Operator in Mathematics and Computer Science; 2.4.1.2.3 Equality Operations using ==; 2.4.1.2.4 Compound Assignment Operators; 2.4.1.2.5 Assignment vs Compound Assignment Operators; 2.4.1.3 Increment & Decrement Operators; 2.4.1.3.1 Post Increment; 2.4.1.3.2 Pre Increment
2.4.1.3.3 Similarities & Differences: Pre Increment & Post Increment2.4.1.4 Bitwise Operators; 2.4.2 LOGICAL OPERATORS; 2.4.3 THE SIZEOF OPERATOR; 3. CONTROL STATEMENTS; 3.1 CONDITIONAL STATEMENTS; 3.1.1 IF STATEMENTS; 3.1.1.1 What is a condition?; 3.1.2 THE IF, THEN, ELSE CLAUSE; 3.1.2.1 Alternative Form using the Ternary? : Operator; 3.1.3 CASCADED/NESTED IF STATEMENTS; 3.1.4 THE IF, ELSE IF, ELSE CLAUSE; 3.1.5 SWITCH STATEMENT; 3.1.6 SWITCH STATEMENT VS IF, ELSE IF, ELSE CLAUSE; 3.2 PROBLEM SOLVING WITH LOOPS; 3.2.1 WHAT ARE LOOPS?; 3.2.2 FOR LOOP; 3.2.3 WHILE LOOP
3.2.3.1 Empty While Loop3.2.4 DO LOOP/WHILE LOOP; 3.3 C++ STATEMENTS & CONSTRUCTS; 3.3.1 BLOCKS; 3.3.2 BREAK STATEMENT; 3.3.3 CONTINUE STATEMENT; 3.3.4 THE GOTO STATEMENT; 3.3.4.1 Prospective Evils of the goto statement; 3.3.5 DROPPING THE BRACES {} FOR 1 ACTION; 3.3.5.1 Potential Hazards in dropping the Braces; 3.3.5.1.1 Breaking at the Wrong Place; 3.3.5.1.2 Dangling Else Clause Issue; 3.3.5.2 Guideline with Braces; 3.4 CREATING ALIASES IN C & C++; 3.4.1 DEFINING CONSTANTS USING #DEFINE -- AVOID IN C++; 3.4.1.1 Issues with Macro Aliases; 3.4.2 TYPEDEF; 3.4.2.1 Cannot modify Typedef
Summary C++ is a powerful, much sought after programming language, but can be daunting to work with, even for engineering professionals. Why is this book so useful? Have you ever wondered: * How do keywords like static and virtual change their meanings according to context? * What are the similarities and differences between Pointers and References, Pointers and Arrays, Constructors and Copy Constructors, Nested and Local Inner Classes? * Why is Multiple Interface Inheritance seen to be beautiful but Multiple Implementation Inheritance considered evil? * When is Polymorphism Static or Dynamic, Bounded or Unbounded? Answers on these questions, and much more, are explained in this book, Cybernetics in C++. What makes this text so different and appealing in comparison to existing books on the market? * The Bulleted style, as opposed to Prose, produces results much faster, both in learning and reference * Rules of Thumb, and further expert Tips are given throughout in how to optimise your code * The Prospective Evils sections tell you what to avoid * The thorough coverage ensures you will be trained to expert level in each of Imperative, Procedural, Memory & Resource Management, Object Oriented and Generic Programming Cybernetics in C++ combines a theoretical overview and practical approach in one book, which should prove to be a useful reference for computer scientists, software programmers, engineers and students in this and related field
Notes 4. PROGRAMMING PRACTICE
Bibliography Includes bibliographical references and index
Notes Avi Bhattacharyya
Print version record
Subject C++ (Computer program language)
Cybernetics.
Cybernetics
cybernetics.
COMPUTERS -- Programming Languages -- C++
COMPUTERS -- Cybernetics.
SCIENCE / Energy
C++ (Computer program language)
Cybernetics
Genre/Form Electronic books
Form Electronic book
ISBN 8793609442
9788793609440
9781003337799
1003337791
9781000794960
1000794962
9781000791860
1000791866
Other Titles Cybernetics in C plus plus