Home arrow C++ arrow Pointers In C - A Boon Or A Bane?
C++

Pointers In C - A Boon Or A Bane?


Pointers have been known to cause hours upon hours of frustration for C/C++ programmers, but are they good or bad? Here's Deepak's Insight...

Author Info:
By: Deepak P
Rating: 3 stars3 stars3 stars3 stars3 stars / 31
August 19, 2002
TABLE OF CONTENTS:
  1. · Pointers In C - A Boon Or A Bane?
  2. · Pointers In C
  3. · Dangling Pointers
  4. · Matrices Are Pointers Too!
  5. · Conclusion

print this article
SEARCH DEVARTICLES

Pointers In C - A Boon Or A Bane?
(Page 1 of 5 )

All of us might have had introductory courses in programming using one of the languages such as C, C++ or Pascal -- all of which have full support for pointers.

There has been a huge division in academic circles regarding the use of pointers. Some say they are good and some say they are the worst things in programming. Anybody who is well versed with pointers would definitely be part of the former school of thought. Who then constitutes the latter school of thought?

Anybody who has done serious programming would have come across bugs. And anybody who has developed worthy projects using pointers would have come across bugs which he/she would have tried to find out wasting a couple of days, only to discover the fact that the error was due to a dangling reference or something akin to that.

In this article I will demonstrate the use and abuse of pointers using one of the most popular programming language of modern times -- C.
blog comments powered by Disqus
C++ ARTICLES

- Intel Threading Building Blocks
- Threading Building Blocks with C++
- Video Memory Programming in Text Mode
- More Tricks to Gain Speed in Programming Con...
- Easy and Efficient Programming for Contests
- Preparing For Programming Contests
- Programming Contests: Why Bother?
- Polymorphism in C++
- Overview of Virtual Functions
- Inheritance in C++
- Extending the Basic Streams in C++
- Using Stringstreams in C++
- Custom Stream Manipulation in C++
- General Stream Manipulation in C++
- Serialize Your Class into Streams in C++

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 

Developer Shed Affiliates

 




© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials