There is no pressing need for structures in C++. Anything you can do with a structure you can also do with a class. The only real difference is that structure members are public by default, whereas class members are private by default, but they both work exactly the same way otherwise. The struct keyword is retained for backward compatibility with C, but a C++ struct is not the same as a C struct unless it is has no interface and all the member variables are implicitly public.
Most C++ programmers will use structures to differentiate simple data structures (values) from fully-encapsulated classes (objects). The complexity of the data and its interface is usually the deciding factor in whether to use a class or a structure. For trivial classes the time and effort that goes into developing the interface is often unnecessary so a structure will often suffice. But if the class is to be distributed to third parties then it's better to provide a more robust interface, even for trivial classes, and to avoid C-style structures entirely.
Yes.
The same as in C, struct.
No.
The basic structure of a C or C++ program is built around types. A structure is a type. A function is a type. A class is a type. All of these types can be built from primitive (built-in) types and can be used to create ever-more complex types.
They are different languages, each of them requires its own compiler.
Yes.
The basic control structure in C++ is the if statement.
The same as in C, struct.
225 Rs. after discount........
No.
Negative.
To use C++ in Netbeans you will need a C++ compiler.
Yes, if you need a C to pass, and you have a C+, you pass.
For programming. C++ is better than C because it is object-oriented and has classes.
struct point { int x; int y; };
No.
Yes you can but C++ has no built-in graphics methods, even for line-drawing. Graphics are platform-dependant so you will need a graphics library and API that suits your platform and hardware.