Im new to c++, Ive been plowing through books,web,etc. Many of the things im learning seems redundant but being new as I am I figure that it stems from lack of knowledge. Now finally my questions...Whats the significance of using pointers to reference variables when i could just flat out write[ int k =3;] for example. Question 2 why is so much emphasize on space allocation? My last question is are there things I should learn before attempting to learn c++? ps have attachements I made cant tell the which is better.
pharoah85 0 Newbie Poster
Recommended Answers
Jump to PostPerhaps this thread will help.
Jump to Post>>im viewing the link you pointed out but it has terms that's unknown to me at this stage in my c++ journey
They're the same terms you were trying to use in your OP.
Jump to PostThat is one significant use of pointers. Yes. If you have the option, it is easier to do it via references. They're not as powerful, or agile, but their syntax is simpler.
There are other uses as well. Such as dynamic memory. Did you read that page in the …
Jump to PostHexadecimal (base-16) notation is actually pretty simple to understand. The representations of the numbers just take some getting used to (like anything else). It just uses 0-9 and a-f (representing 10-15) instead of …
All 14 Replies
nikaso 0 Newbie Poster
Fbody 682 Posting Maven Featured Poster
miturian 0 Light Poster
pharoah85 0 Newbie Poster
Fbody 682 Posting Maven Featured Poster
pharoah85 0 Newbie Poster
Fbody 682 Posting Maven Featured Poster
pharoah85 0 Newbie Poster
Fbody 682 Posting Maven Featured Poster
pharoah85 0 Newbie Poster
Fbody 682 Posting Maven Featured Poster
pharoah85 0 Newbie Poster
pharoah85 0 Newbie Poster
pharoah85 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.