Hi,
I am reading data from an XML file, and am checking whether a node exists, if not then I display "no nodes", but if so I want to display the number of nodes using the Count method - however I can't work out how to do this using MessageBox::Show. So far I have:
Code:
if (nodesXML->Count == 0)
{
MessageBox::Show("There are no sound nodes");
}
else
{
MessageBox::Show("There are " <nodesXML->Count> " sound nodes.");
}
I know that <nodesXML->Count> is not right but that's where I want the integer to go. I've tried +'s, &'s and anything else I can think of, and can't find examples anywhere of how to do it so any help would be greatly appreciated.
IxxI
No one has replied yet! Why not be the first?
Sign in or Join us (it's free).