Solved

Managed Code and Initialised Objects

Posted on 2006-10-24
1
190 Views
Last Modified: 2013-12-03
Is there a way to tell if an object has been initialised?

Example;

String^ sName;

if(sName == null)             ------------ WHAT SHOULD THIS BE ??? ---------------
{
  // Not Initialise
}

0
Comment
Question by:cossy74
1 Comment
 
LVL 48

Accepted Solution

by:
AlexFM earned 500 total points
ID: 17801413
if(sName == nullptr)
{
}
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Display issues with nvidia 13 87
Funky fonts displayed 7 78
Chinese chars 2 72
VB.NET - how to detect if a file is being used by another process 9 115
The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
In Easy String Encryption Using CryptoAPI in C++ (http://www.experts-exchange.com/viewArticle.jsp?aid=1193) I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now