Register    Login    Forum    Search    FAQ

News News of C++ Language

Site map of C++ Language » Forum : C++ Language


Message
 Post subject: Pointer Tips
PostPosted: Fri Jul 24, 2009 7:16 am 
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 ...

Read more : Pointer Tips | Views : 35 | Replies : 0

Top
 Post subject: Programming Tips
PostPosted: Fri Jul 24, 2009 7:15 am 
Here is the simple and most useful tips..,

1) Check for the function prototype for the library function if you don't remember the actual argument type for the library function. e.g., scanf() function.., it expects address of the argument so it should be proveded address of the variable to be filled not the variable itself.

2) Take care that the loop count variable never overflows.., and if so take the overflow into count.
e.g.,
Never ...

Read more : Programming Tips | Views : 21 | Replies : 0

Top
 Post subject: What is C++?
PostPosted: Fri Jul 24, 2009 7:13 am 
Released in 1985, C++ is an object-oriented programming language created by Bjarne Stroustrup. C++ maintains almost all aspects of the C language, while simplifying memory management and adding several features - including a new datatype known as a class - to allow object-oriented programming. C++ maintains the features of C which allowed for low-level memory access but also gives the programmer new tools to simplify memory management

Read more : What is C++? | Views : 26 | Replies : 0

Top
 Post subject: What is C++ used for?
PostPosted: Fri Jul 24, 2009 7:12 am 
C++ is a powerful general-purpose programming language. It can be used to create small programs or large applications
. It can be used to make CGI scripts or console-only DOS programs. C++ allows you to create programs to do almost anything you need to do. The creator of C++, Bjarne Stroustrup, has put together a partial list of applications written in C++.

It is also good for developing computer games.

Read more : What is C++ used for? | Views : 24 | Replies : 0

Top

Last 10 active topics


Operating Systems (Windows, Unix-Linux, Mac & Others)

No new posts How to remove this mac keylogger?

Tips & Tricks

No new posts Tips of block sites on your computer

NET (VB.net, ASP.net, C#)

No new posts Multithreading with Windows Forms

Domain Registrations

No new posts Know About DNS (Domain Name System)
No new posts Know About Domain Names
No new posts 10 things to look for in a domain registrar
No new posts Largest ICANN Registrars : Top Domain Registrars by Total Domains

Hosting Solutions

No new posts Virtual Private Server Providers
No new posts Dedicated Hosting For Beginners
No new posts A Quick Overview of Reseller Hosting

Login

Username:   Password:   Log me on automatically each visit  

Statistics

Statistics

Total posts 152 | Total topics 149 | Total members 25



Your Ad Here
cron