What does new operator do

Nov 3 2008 11:41 PM

I am a newbie and need a clarification on some question:

1Q.What does new operator do?

Ans:Am not sure whst does new operator do other than   intialization, memory allocation and ???

2Q. How to Allocate a large amount of memory using new operator?

3Q.An object contains 2 buffers of fixed size. Can we initialize the object by doing ZeroMemory in the constructor?

4Q. Can we have a static consture?

 

5Q. Can we a non-parameterized constructor in the struct declaration?

 

6Q. Can we have a private constructor?


Answers (3)