Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is it possible programming in C++ with no knowledge about pointers?

 
Rogerio Kioshi
Ranch Hand
Posts: 690
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'd like to know if it is possible programming in C++ without pointers knowledge.
 
Anthony Aj Williams
author
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rogerio Kioshi wrote:I'd like to know if it is possible programming in C++ without pointers knowledge.


Yes, it's possible. You can pass everything by value or reference.

However, I would recommend learning about pointers. It's not that hard, and it means you can understand code others have written that use them, and it provides another technique you can use when it is appropriate.
 
Anil Kollur
Ranch Hand
Posts: 101
Java Linux Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just simple plain answer is - It is possible but Hard.
You can use references instead of pointers, but at some point of time you need to jump into pointers world.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic