Pointers?

R

red floyd

Adie said:
What is a pointer?
An address.
Can I have less of them in .NET?
MU. In other words, your question has no meaning on this group. This
group discusses Standard C++, not .NET. Try microsoft.public.*

Based on your first question, I'd recommend that you get a good C++
book. "Accelerated C++" by Koenig and Moo is highly recommended.
 
M

Mike Wahler

Adie said:
What is a pointer?

A value that represent a memory address (this
need not translate directly to a hardware
address, but is part of the 'abstract machine'
defined by the language, the details of which
are defined by a C++ implementation).

Also note that the facilities of C++ (especially
those of its standard library) greatly reduce the
need for using pointers. (There are still some times
when they're useful, but not nearly as often as with C).
Can I have less of them in .NET?

Sure, use a language that doesn't have them. :)
(Note that .NET is not a language, but a 'platform',
created by Microsoft, and programs for it can be
written in several different languages).

All that being said, if you need to ask such a simple
question as 'what is a pointer', that tells me you
need some books. Check out the peer reviews at
www.accu.org. You can get much useful help here
with C++, but you can't learn a programming language
from only asking questions of a newsgroup.

C++ FAQ:
http://www.parashift.com/c++-faq-lite/

HTH,
-Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,197
Messages
2,571,041
Members
47,643
Latest member
ashutoshjha_1101

Latest Threads

Top