Udemy
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
Development
Web Development Data Science Mobile Development Programming Languages Game Development Database Design & Development Software Testing Software Engineering Development Tools No-Code Development
Business
Entrepreneurship Communications Management Sales Business Strategy Operations Project Management Business Law Business Analytics & Intelligence Human Resources Industry E-Commerce Media Real Estate Other Business
Finance & Accounting
Accounting & Bookkeeping Compliance Cryptocurrency & Blockchain Economics Finance Finance Cert & Exam Prep Financial Modeling & Analysis Investing & Trading Money Management Tools Taxes Other Finance & Accounting
IT & Software
IT Certification Network & Security Hardware Operating Systems Other IT & Software
Office Productivity
Microsoft Apple Google SAP Oracle Other Office Productivity
Personal Development
Personal Transformation Personal Productivity Leadership Career Development Parenting & Relationships Happiness Esoteric Practices Religion & Spirituality Personal Brand Building Creativity Influence Self Esteem & Confidence Stress Management Memory & Study Skills Motivation Other Personal Development
Design
Web Design Graphic Design & Illustration Design Tools User Experience Design Game Design Design Thinking 3D & Animation Fashion Design Architectural Design Interior Design Other Design
Marketing
Digital Marketing Search Engine Optimization Social Media Marketing Branding Marketing Fundamentals Marketing Analytics & Automation Public Relations Advertising Video & Mobile Marketing Content Marketing Growth Hacking Affiliate Marketing Product Marketing Other Marketing
Lifestyle
Arts & Crafts Beauty & Makeup Esoteric Practices Food & Beverage Gaming Home Improvement Pet Care & Training Travel Other Lifestyle
Photography & Video
Digital Photography Photography Portrait Photography Photography Tools Commercial Photography Video Design Other Photography & Video
Health & Fitness
Fitness General Health Sports Nutrition Yoga Mental Health Dieting Self Defense Safety & First Aid Dance Meditation Other Health & Fitness
Music
Instruments Music Production Music Fundamentals Vocal Music Techniques Music Software Other Music
Teaching & Academics
Engineering Humanities Math Science Online Education Social Science Language Teacher Training Test Prep Other Teaching & Academics
AWS Certification Microsoft Certification AWS Certified Solutions Architect - Associate AWS Certified Cloud Practitioner CompTIA A+ Cisco CCNA Amazon AWS CompTIA Security+ Microsoft AZ-900
Graphic Design Photoshop Adobe Illustrator Drawing Digital Painting InDesign Character Design Canva Figure Drawing
Life Coach Training Neuro-Linguistic Programming Personal Development Personal Transformation Mindfulness Life Purpose Meditation CBT Emotional Intelligence
Web Development JavaScript React CSS Angular PHP Node.Js WordPress Vue JS
Google Flutter Android Development iOS Development React Native Swift Dart Programming Language Mobile Development Kotlin SwiftUI
Digital Marketing Google Ads (Adwords) Social Media Marketing Google Ads (AdWords) Certification Marketing Strategy Internet Marketing YouTube Marketing Email Marketing Retargeting
Microsoft Power BI SQL Tableau Business Analysis Data Modeling Business Intelligence MySQL Data Analysis Blockchain
Business Fundamentals Entrepreneurship Fundamentals Business Strategy Business Plan Startup Freelancing Online Business Blogging Home Business
Unity Game Development Fundamentals Unreal Engine C# 3D Game Development C++ 2D Game Development Unreal Engine Blueprints Blender
30-Day Money-Back Guarantee
Development Programming Languages C++

Modern C++ Memory Management: Learn to write good code fast

Using the power of C++11 to efficiently write reliable software
Rating: 4.3 out of 54.3 (179 ratings)
1,916 students
Created by Mattias Johansson
Last updated 12/2016
English
English [Auto]
30-Day Money-Back Guarantee

What you'll learn

  • Write safe and efficient C++ code without memory leaks or memory corruption
  • Use the features of modern C++ to be more productive

Course content

3 sections • 20 lectures • 1h 45m total length

  • Preview02:41
  • Memory model introduction
    02:53
  • Preview04:43
  • Demo: When does memory leaks happen
    06:48
  • Demo: The stack, the free store and the heap
    02:57
  • Stack, free store and the heap
    3 questions
  • Demo: Dangling Pointer
    03:01

  • RAII - Resource Acquisition Is Initialization
    05:04
  • Preview04:06
  • Introducing the Smart Pointers
    01:49
  • Unique pointer
    04:22
  • Demo: Unique Pointer
    13:55
  • The Unique Pointer
    3 questions
  • Shared Pointer
    05:09
  • Demo: Shared Pointer
    09:49
  • Shared pointer
    3 questions
  • Weak Pointer
    01:04
  • Demo: Weak Pointer
    07:55
  • Vector
    04:06
  • Demo: using the vector class
    08:14
  • Vector
    6 questions

  • Why your class may need a virtual destructor
    06:39
  • Demo: solving the dangling pointer
    03:22
  • Demo: Dealing with legacy code
    07:05

Requirements

  • You should have a basic knowledge of C++.

Description

In this course you will learn how to use the power of modern C++ to write reliable C++ code. C++ is otherwise known to be a difficult language, partly because of all the troubles in keeping track of allocated memory resources. 

By taking this course you will learn how to write better C++ code. Code which is not just easier to read, but also faster to write, faster to debug and faster to run! You will learn the structures and principles used in modern C++ to avoid the headaches of manual memory management completely.

Please enjoy this course. I hope you truly enjoy it!

Regards,

  Mattias


P.S. If you are not completely happy with the contents, you are entitled to a no-questions-asked 30 day 100% money-back guarantee.


What are the requirements?

  • This course assumes that you have a basic knowledge of C++ and know how to write a simple C++ program. You may have used C++ professionally or just taken a course or two.

What am I going to get from this course?

  • You will learn how to avoid the headache of manual memory management by using structures and principles of modern C++.


Who this course is for:

  • This course is for software developers with a basic knowledge of C++ and who are writing/modifying C++ code.

Featured review

RoboRidley
RoboRidley
15 courses
5 reviews
Rating: 4.5 out of 5a year ago
Great course that's easy to follow and understand, granted that you have some prior C++ knowledge. The lack of proper exercises outside of demos is what holds it back from a 5/5 for me, but other than that I'd highly recommend the course.

Instructor

Mattias Johansson
Senior Software Engineer
Mattias Johansson
  • 4.3 Instructor Rating
  • 179 Reviews
  • 1,916 Students
  • 1 Course

Hi, I'm Mattias Johansson and I have been working on developing software in C++ for more than 15 years by now. I have always enjoyed diving into solving difficult problems as well as developing computer software.

I live in Göteborg, Sweden, where I have been living since 1999. I moved here to start my studies at Chalmers University. I liked the city and have since then stayed. After I took my M.Sc in Applied Physics, I went on to do a PhD in Optical Remote Sensing. During my studies I implemented the methods and algorithms  which I was trying to develop in C++. Honestly, the code wasn't that great looking, but which research code is? Well, after I finished I joined a great company called Thorlabs where I was working on designing and developing software for data analysis and instrument control. I really learned a lot on how to write good quality software during my more than six years at the company. However, as time goes I felt it was time to move on and I have now joined a small company in town which develops software (in C++ mostly) and algorithms for computer vision and image analysis.  

  • Udemy for Business
  • Teach on Udemy
  • Get the app
  • About us
  • Contact us
  • Careers
  • Blog
  • Help and Support
  • Affiliate
  • Impressum Kontakt
  • Terms
  • Privacy policy
  • Cookie settings
  • Sitemap
  • Featured courses
Udemy
© 2021 Udemy, Inc.