Join us on a literary world trip!
Add this book to bookshelf
Grey
Write a new comment Default profile 50px
Grey
Subscribe to read the full book or read the first pages for free!
All characters reduced
C++ Learn in 24 Hours - cover

C++ Learn in 24 Hours

Alex Nordeen

Publisher: Publishdrive

  • 0
  • 0
  • 0

Summary

Table Of Content
 
Chapter 1: C++ Programming: What is C++ | Learn Basic Concepts of C++
 
What is C++?
 
Popular programming languages in use?
 
Is C++ best programming language?
 
Who uses C++?
 
Five Basic Concepts of C++
 
Use of C++ Programming Language
 
Chapter 2: How to Download and Install C++ IDE on Windows
 
What is Dev-C++?
 
How to Download and Install Dev C++ on Windows
 
Features Of Dev-C++ IDE
 
Chapter 3: C++ Hello World Program with Code Explanation
 
Hello World Program in C++
 
Your First Program: C++ ""Hello World!"" Explanation
 
Explanation of C++ Hello World Program Code
 
Chapter 4: C++ Variables and Types: int, double, char, string, bool
 
Variables in C++
 
Basic types of Variables in C++
 
Rules of Declaring Variables in C++
 
C++ Variable Data Types
 
Variable Name or Identifiers
 
Const Qualifier in C++
 
Scope of Variables in C++
 
Variable Type Conversion
 
Register Variables
 
Escape Sequences
 
Chapter 5: Arrays in C++ | Declare | Initialize | Pointer to Array Examples
 
What is an Array?
 
Why do we need arrays?
 
Declare an array in C++
 
Array Initialization
 
Types of Arrays
 
Accessing the values of an Array
 
Advantages of an Array in C++
 
Disadvantages of an Array in C++
 
Chapter 6: C++ Operators with Examples
 
What are Operators?
 
Arithmetic Operators
 
Relational Operators
 
Logical Operators
 
Bitwise Operators
 
Assignment Operators
 
Misc operator
 
Operators Precedence
 
Chapter 7: C++ For Loop with EXAMPLE
 
What is a For Loop?
 
How for loop works?
 
When to use a for loop?
 
Syntax of for loop
 
Example 1
 
Example 2
 
Chapter 8: C++ do…while loop with Examples
 
What is do-while loop?
 
When to use a do-while loop?
 
Syntax
 
How do-while loop works?
 
Example 1
 
Example 2
 
Nested Do While Loop
 
Chapter 9: C++ Switch Case Statement with EXAMPLE
 
What is a switch?
 
When to use a switch?
 
The break Keyword
 
Syntax
 
Example 1
 
Example 2
 
Chapter 10: C++ Strings: strcpy(), strcat(), strlen(), strcmp() EXAMPLES
 
What is a String?
 
Declaring Strings
 
Accessing string Values
 
String Functions:
 
Chapter 11: C++ Exception Handling: Try, Catch, throw Example
 
What is Exception Handling in C++?
 
Why Exception Handling?
 
Exception Handling Keywords
 
C++ Standard Exceptions
 
User-Defined Exceptions
 
Chapter 12: C++ Dynamic Allocation of Arrays with Example
 
What is a Dynamic Array?
 
Factors impacting performance of Dynamic Arrays
 
The new Keyword
 
Initializing dynamically allocated arrays
 
Resizing Arrays
 
Dynamically Deleting Arrays
 
Chapter 13: C++ Pointers with Examples
 
What are Pointers?
 
Addresses in C++
 
Pointer Declaration Syntax
 
Reference operator (&) and Deference operator (*)
 
Pointers and Arrays
 
NULL Pointer
 
Pointers of Variables
 
Application of Pointers
 
Advantages of using Pointers
 
Chapter 14: C++ Char Data Type with Examples
 
What is Char?
 
What is ASCII?
 
Char Declaration
 
Printing ASCII Value
 
Printing Char Value
 
Inputting Chars
 
Converting Character to String
 
Chapter 15: C++ File Handling: How to Open, Write, Read, Close Files in C++
 
What is file handling in C++?
 
The fstream Library
 
How to Open Files
 
How to Close Files
 
How to Write to Files
 
How to Read from Files
 
Chapter 16: C++ Operator Overloading with Examples
 
What is Operator Overloading?
 
Different Approaches to Operator Overloading in C++
 
Can all C++ Operators be Overloaded?
 
Things to Remember:
 
Rules for Operator Overloading:
 
How to Overload Operator:
 
Chapter 17: C++ Basic Input/Output: Cout, Cin, Cerr Example
 
What are Streams in C++?
 
How do streams work?
 
Function Table
 
C++ Header files for Input/ Output
 
std::cout
 
std::cin
 
std::cerr
 
std::clog
 
Error handling with IO streams:
 
Chapter 18: Stack in C++ STL with Example
 
What is std::stack?
 
Stack Syntax
 
Member Types
 
Operations in Stack
 
Stack Implementation
 
push() and pop()
 
empty(), size(), top()
 
emplace() and swap()
 
Stack in STL
 
Chapter 19: C++ Struct With Example
 
What is a Struct in C++?
 
When to use a Structure?
 
C++ Struct Initialization
 
Creating Struct Instances
 
Accessing Struct Members
 
Pointers to Structure
 
Struct as Function Argument
 
Limitation of a C++ structure
 
Chapter 20: Vector in C++ Standard Template Library (STL) with Example
 
What is a C++ Vector?
 
When to Use a Vector?
 
How to Initialize Vectors in C++
 
Iterators
 
Modifiers
 
Example 1
 
Example 2
 
Capacity
 
Example 3
 
Chapter 21: Map in C++ Standard Template Library (STL) with Example
 
What is std::map?
 
Why use std::map?
 
Syntax:
 
Member types:
 
Built-in Functions
 
Iterating over Map Elements
 
Inserting data in std::map
 
Searching in a Map
 
Deleting Data from a Map
 
Chapter 22: C++ Class and Object with Example
 
What is a Class?
 
Class Declaration
 
Private and Public Keywords
 
Object Definition
 
Accessing Data Members
 
Class Member Functions
 
Constructors and Destructors
 
Chapter 23: C++ Polymorphism with Example
 
What is Polymorphism in C++?
 
Types of Polymorphism
 
Compile Time Polymorphism
 
Function Overloading
 
Operator Overloading
 
Runtime Polymorphism
 
Function Overriding
 
C++ Virtual Function
 
Compile-Time Polymorphism Vs. Run-Time Polymorphism
 
Chapter 24: std::list in C++ with Example
 
What is an std::list?
 
Why use std::list?
 
List Syntax
 
C++ List Functions
 
 Constructors
 
Container properties
 
Inserting into a List
 
Deleting from a List
 
Chapter 25: C++ Functions with Examples
 
What is a Function in C++?
 
Why use functions?
 
Built-in Functions
 
User-Defined Functions
 
Function Declaration/Prototype
 
Function Definition
 
Function Call
 
Passing Arguments
 
Chapter 26: Difference between Structure and Class: Explained with C++ Example
 
What is Structure?
 
What is Class?
 
Syntax of Class in C++
 
Syntax of Structure in C++
 
Difference between Structure and Class
 
Which One Should You Choose?
Available since: 07/20/2022.
Print length: 540 pages.

Other books that might interest you

  • Nuclear Physics - cover

    Nuclear Physics

    Introbooks Team

    • 0
    • 0
    • 0
    From the spectra of hydrogen to the cosmic showers, and the Gamma ray bursts, several interesting concepts of Nuclear physics are discussed in the useful notes that are dedicated to all levels of readers. Basic information purview is done keeping in mind of the beginners, as well as the intermediates. Upper undergraduate basic essentials are demonstrated too. In the first chapter all the knowledge base has been served in order to give an idea about what systems theory is all about. This basic information makes the useful notes perfect for beginners. Second chapter talks about various applications of systems theory to serve you with practical knowledge. In last three chapters development and history of systems theory is described. This is a complete package for basic concepts of systems theory. You can refer high level useful notes s once you have acquired basic knowledge base. Systems theory is a bit complex subject to understand at once. The useful notes explain simply on how to include every small detail related general theory of systems. That is why we used precision while dividing the content into chapters. All interrelated information is compressed within a chapter so you will not require switching between chapters now and then. Information section of the useful notes s defines origin of the term. All important names and details described in the main content are included there.
    Show book
  • Self Esteem Brain Hack - cover

    Self Esteem Brain Hack

    Amy Applebaum

    • 0
    • 0
    • 0
    A guided meditation designed to help you become your most confident self. The secret to confidence doesn’t come from listening to daily affirmations or telling yourself you’re “awesome.” The key to confidence is a MIND game.Want access to self-esteem? You’ll need to shift your mindset.Nasty beliefs, fears, and perfectionism all lead to self-loathing. And that must stop.And it will.This guided meditation has been carefully designed to help you move past the fears and nasty beliefs that have held you back. You’ll quickly begin regaining your confidence, choosing to like yourself physically, mentally and spiritually so that you can take action in your life and go after your dreams.Self Esteem Brain Hack comes with two valuable ‘extras’:1.	2 different endings. Besides the actual guided meditation itself, you will receive a choice of a ‘sleep’ or ‘wake’ ending depending on whether you are listening in the morning or evening.2.	A deep sleep music track. If you choose a sleep ending, this track will help deepen your sleep after you have completed your meditation session. Hi:) I’m Amy Applebaum. And I’m really glad you are here!As a business owner who has made millions and a Life Success coach who has coached dozens of ambitious women (and some men), I believe very strongly that success is just as much about ‘how you think’ as it is ‘what you do’.Success is first and foremost an Inside Job.I have seen it in my own life.I’ve seen it with the entrepreneurs and industry leaders I have worked with whose lives have been wildly transformed just by changing their thoughts and then taking actions on those new beliefs.Let’s face it. We have a lot on our plate. And those of us who are running our own businesses even more so.We are giving so much to the world around us.But things won’t shift until we get those birds on our shoulders to stop the negative chitchat.And the best fastest way to cut the self-doubt in its tracks is through meditation.And I make doing meditation dead easy.My MOVE collections are guided meditations.You don’t have to learn the ‘ins and outs ’of meditation. All you need to do is throw those earbuds in and drift off to sleep!Downloaded over 500,000 times on places like iTunes and Audible, my MOVE meditations don’t just ‘relax’ and distress, they are specifically designed to help you get MOVING and unstuck.So that you can finally live the life you have always wanted!“Just listened to this last night and it was exactly what I needed to hear. It really spoke to my specific issues. I feel confident that I can finally start moving on with my life. Thank you Amy” ~ Jill FineIsn’t it time? Isn’t it time to set aside the nasty mindset that is keeping you from being the most confident possible version of you?And it’s so easy.Just put the earbuds in and listen.Nothing simpler.All you need to do to open the door to confident living the EASY wayis waiting for you here
    Show book
  • The Cloud Collector's Handbook - cover

    The Cloud Collector's Handbook

    Gavin Pretor-Pinney

    • 0
    • 0
    • 0
    Keep your head in the clouds with this whimsical guide to the wonders of the sky from an award-winning science writer. 
     
    In The Cloud Collector’s Handbook, cloud expert Gavin Pretor-Pinney catalogs a variety of clouds and gives readers points for spotting them and recording their finds. This fun and fact-filled book features gorgeous full-color photographs that showcase various types of clouds, from fluffy cumulus to the super rare horseshoe vortex to the wispy noctilucent clouds that hang at the fringes of space. 
     
    Sure to be a hit with both aspiring and seasoned cloud gazers, this clever handbook comes from the bestselling author, BBC presenter, and founder of the Cloud Appreciation Society.
    Show book
  • Bugs Around You - cover

    Bugs Around You

    Jason Hill

    • 0
    • 0
    • 0
    This audiobook breaks down different bugs around you everyday.
    Show book
  • Once Upon a Time I Lived on Mars - Space Exploration and Life on Earth - cover

    Once Upon a Time I Lived on Mars...

    Kate Greene

    • 0
    • 0
    • 0
    This program is read by the authorWhen it comes to Mars, the focus is often on how to get there: the rockets, the engines, the fuel. But upon arrival, what will it actually be like?In 2013, Kate Greene moved to Mars. That is, along with five fellow crew members, she embarked on NASA's first HI-SEAS mission, a simulated Martian environment located on the slopes of Mauna Loa in Hawai'i. For four months she lived, worked, and slept in an isolated geodesic dome, conducting a sleep study on her crew mates and gaining incredible insight into human behavior in tight quarters, as well as the nature of boredom, dreams, and isolation that arise amidst the promise of scientific progress and glory.In Once Upon a Time I Lived on Mars, Greene draws on her experience to contemplate humanity's broader impulse to explore. The result is a twined story of space and life, of the standard, able-bodied astronaut and Greene's brother's disability, of the lag time of interplanetary correspondences and the challenges of a long-distance marriage, of freeze-dried egg powder and fresh pineapple, of departure and return.By asking what kind of wisdom humanity might take to Mars and elsewhere in the Universe, Greene has written a remarkable, wide-ranging examination of our time in space right now, as a pre-Mars species, poised on the edge, readying for launch.A Macmillan Audio production from St. Martin's Press
    Show book
  • Honey Bee Hobbyist - The Care and Keeping of Bees - cover

    Honey Bee Hobbyist - The Care...

    Norman Gary

    • 0
    • 0
    • 0
    A beginning apiarist’s comprehensive guide to keeping bees at home, from basic bee biology to the necessary tools, and more. 
     
    Discover the secrets of successful hobby beekeeping with advice from a world-renowned honey bee expert. Dr. Norman Gary shares his extensive beekeeping expertise in this entertaining and authoritative guide. Honey Bee Hobbyist, 2nd Edition will help you decide whether hobby beekeeping is right for you and will introduce you to all of the equipment, tools, and protective clothing you’ll need to get started. 
     
    Dr. Gary teaches you to understand bee behavior so you can relax and enjoy working with these amazing creatures. He takes you from assembling your new hive and stocking it with bees to managing a growing colony and harvesting your honey rewards. With fascinating color photographs, myth-busting insights, and never-before-published tips, this comprehensive handbook is your first step toward an enjoyable and rewarding lifelong hobby. 
     
    Inside you’ll find:Detailed, practical instructions for hobby beekeepingBasics of honey bee anatomy, behavior, and reproductionHow to use a bee smoker and safely open a hiveHow to monitor hive conditions, prevent swarming, and deal with bee diseasesEffective sting-prevention strategiesFun ways to use your beekeeping hobby for entertainment and educationUpdated information on beekeeping in urban environments 
     
    “Few people are more qualified to write a book explaining the fundamentals of bee biology and hive management than Dr. Norman Gary… This is a solid how-to book that I could recommend to any beekeeper.”—Dr. James E. Tew, The Ohio State University 
     
    “As practical as it is engaging, Honey Bee Hobbyist by University of California, Davis, entomologist Norman Gary can help you decide if backyard beekeeping is for you and how to go about it. Learn all about these important pollinators, including the intricacies of bee reproduction and society, how to use surplus honey, and why most people shouldn’t be overly afraid of a bee’s sting.”—California Bountiful Magazine
    Show book