On Wed, Feb 4, 2009 at 11:43 AM, anju chandran <[email protected]> wrote: > in a particular c++ program string variables are > used to store data loaded from database,is there > any way to use string variable itself,without using > char* or character array,is there any way to reduce > memory utilisation by string variable ,hoping that i > made the problem clear to all,please reply
If you are having memory utilization problems I'd suggest that you explore other areas of your app (that you wrote) before looking at optimizing the implementation of the "string" class (assuming you are using the standard STL "string" class with a good implementation). Is there any particular reason why you suspect that the problem might be with your "string" objects? -- Ranju. V http://blogorama.nerdworks.in/ --
