wood burning stoves 2.0*
The moose likes C / C++ and the fly likes Is it possible programming in C++ with no knowledge about pointers? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Languages » C / C++
Bookmark "Is it possible programming in C++ with no knowledge about pointers?" Watch "Is it possible programming in C++ with no knowledge about pointers?" New topic
Author

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

Rogerio Kioshi
Ranch Hand

Joined: Apr 12, 2005
Posts: 689
Hi,

I'd like to know if it is possible programming in C++ without pointers knowledge.


SCEA 5 (part 1), SCBCD, SCWCD, SCJP, CLP, CLS
Anthony Aj Williams
author
Ranch Hand

Joined: Jun 10, 2011
Posts: 56
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.


Author of C++ Concurrency in Action http://www.stdthread.co.uk/book/
just::thread C++11 thread library http://www.stdthread.co.uk
Just Software Solutions Ltd http://www.justsoftwaresolutions.co.uk
15 Carrallack Mews, St Just, Cornwall, TR19 7UL, UK. Company No. 5478976
Anil Kollur
Ranch Hand

Joined: Mar 25, 2000
Posts: 101

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.


Everyday is a Learning phase! Hence ask "What have I learnt today?"
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Is it possible programming in C++ with no knowledge about pointers?