Date: Thu, 12 Jun 1997 19:07:11 -0500 (CDT) From: Andrew Deren To: djgpp Subject: C++ question. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk I have a question regarding c++. Maybe it's not a good one for this group, but I use DJGPP so what the hell. Let's say a class called object, and a global variable of that class. In one of my functions I say my_obj = Object(..something...); This function is called a lot of times in my program, and my question is: will the constructor generate a new copy of this object each time I call it. And if it does will the memory previously taken by my_obj be freed? Thank you. Andrew Deren aderen AT eecs DOT uic DOT edu http://www.geocities.com/SiliconValley/Vista/1042 Look at the home page for three of my games.