[Dev-C++] returning a constant string reference
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Daniel G. <sp...@ho...> - 2002-10-17 11:20:27
|
This is the code currently String GetName() const; To make the function return a const string reference, do I changeit to String& GetName() const; or is it now returning a String object? _________________________________________________________________ Get faster connections -- switch to MSN Internet Access! http://resourcecenter.msn.com/access/plans/default.asp |