What is constructor or ctor?, C/C++ Programming

What is constructor or ctor?

 

Posted Date: 3/15/2013 3:51:12 AM | Location : United States





What is constructor or ctor?

A: Constructor develops an object and initializes it. This also develops vtable for virtual functions. This is different from other methods in a class.

 

Posted by | Posted Date: 3/15/2013 3:51:49 AM


Related Discussions:- What is constructor or ctor?, Assignment Help, Ask Question on What is constructor or ctor?, Get Answer, Expert's Help, What is constructor or ctor? Discussions

Write discussion on What is constructor or ctor?
Your posts are moderated
Related Questions
C program to print L diagonal triangle: void main() {                 int i=0,j=0;                 int arr[rows][cols];                 for (i=0; i

C Program to FIND VOWELS AND REMOVE VOWELS void main() {           char s[100],s1[100];           int i,j,k=0;           clrscr();           printf("ENTER ANY S

Develop a program to meet the following requirements: 1. Must use at least one function in addition to main (you can use more) 2. Must use selection 3. Must use deference/indire

Create an applet that bounces a blue ball inside an applet using Thread. The ball (diameter is 10) will start at position (0,0). When the ball hits the edge of the applet, the ba


Operation Files 2.1. Your program should open and read the file specified by the first command line argument of the program. 2.2. The first line of the file contains an integer

I have a very confusing assignment and I''m struggling to find the right place to begin or how to break the problem down.

Overloading Unary Operators class sign {int a,b,c; public: sign(){}; sign(int,int,int); void putdata(void); void operator-(); }; void sign::operator-() {a=

How do I allocate multidimensional arrays by new? A: There are several ways to do this, based on how flexible you wish the array sizing to be. On one acute, if you know all the

Help me evaluate suitable OpenCV filters to get an inital working tracking algorithm. In this case it's objects moving on water (sea) and since I have very limited OpenCV knowledge