Skip to main content

Why are pointers not recommended when coding with C++?

Tweeted twitter.com/#!/StackProgrammer/status/556361547053027331
Question Protected by gnat
Fixed grammar in title, added more tags
Link

Why isare pointers not recommended when coding with C++

Source Link
Joshua Partogi
  • 3.9k
  • 12
  • 36
  • 43

Why is pointers not recommended when coding with C++

I read from somewhere that when using C++ it is recommended not to use pointers. Why is pointers such a bad idea when you are using C++. For C programmers that are used to using pointers, what is the better alternative and approach in C++?