General debugging techniques include using exceptions and using the debugger to step-into certain sections of code to check for errors.
Debugging is a way of running the program to locate any errors that may arise at run-time.
C: there are no methods in C. C++: no.
In C++, methods are simply class member functions.
Primarily to add object oriented programming methods to the C language.
Are called methods.
hello
In C there are functions only, In Java methodsonly (static methods as well), in C++ both.
We learn it cause C++ are useful in programming. It is a language in programming. ********************************* Personally I like C better, there is much less code and fewer opportunities stuff up. C usually produces smaller programs that run faster. C++ tends to hide things from the programmer (you don't need to know approach) that makes debugging more challenging.
Debugging
Read the documentation, and practice a lot.
I thought its a development tool.. this is what i got from wiki --- is a commercial (free version available), integrated development environment (IDE) product from Microsoft for the C, C++, and C++/CLI programming languages. It has tools for developing and debugging C++ code, especially code written for the Microsoft Windows API, the DirectX API, and the Microsoft .NET Framework.
The central feature of any C++ program is classes which can be used to express ideas directly in code.