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 Posthm... interesting...
Jump to PostPerhaps this thread will help.
Jump to Postsuppose in your date example that you wanted to make a calendar for all your arrangements the coming year. Let's say you have 200 arrangements already. You're not going to make 200 individual variables, each with different names. Instead, you would allocate room for one big variable containing 200 arrangements, …
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.
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.