Skip to content
André Gasser
A Blog on IT Security, Software Development, Technology and Various Life Hacks
  • Home
  • IT Security
  • Software Engineering
  • Projects
  • Making
  • About
  • Home
  • IT Security
  • Software Engineering
  • Projects
  • Making
  • About

Tag Archives: C++

You are here:
  1. Home
  2. Entries tagged with "C++"

When to use the new-Operator in C++

Software EngineeringBy André GasserJune 2, 2011Leave a comment

During my C++ studies, there have been a bunch of questions which came up related to proper memory management, passing data structures and so long. One question was, when to use the new-Operator to instantiate for example a class and when not. Basically, you should use the new-Operator when you want to make sure, that…

Copyright © 2017 André Gasser
Go to Top