Register    Login    Forum    Search    FAQ

Board index » Programming Heaven » C++ Language




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Pointer Tips
 Post Posted: Fri Jul 24, 2009 7:16 am 
Offline

Joined: Wed Jul 22, 2009 12:56 pm
Posts: 69
some tips for the beginners.,

1) Never ever forget to initialize the pointer. This may be simple and easy known stuff but here I would like to add it as an embedded system developer that this was the main cause of many bugs.
2) Also never change the pointer variable itself unless & until you need to change the pointer.
3) Also monitor that the pointers are not overlapping if not pointing to same memory location range.


Top 
 Profile  
 
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 1 post ] 

Board index » Programming Heaven » C++ Language


Who is online

Users browsing this forum: No registered users and 1 guest

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Your Ad Here
cron