A
abhishekkarnik
I was going over MSDN to find a way to enumerate files using C++. I
came across some syntax that looks like:
DirectoryInfo^ di = gcnew DirectoryInfo("..\\GA\\Files");
array<FileInfo^>^fiArr = di->GetFiles();
Collections::IEnumerator^ myEnum = fiArr->GetEnumerator();
while ( myEnum->MoveNext() )
{
FileInfo^ fri = safe_cast<FileInfo^>(myEnum->Current);
Console::WriteLine( fri->Name );
}
My question is, what are all the "^" and if there is any documentation
anyone knows off so that I can read about it
regards,
Abhi
came across some syntax that looks like:
DirectoryInfo^ di = gcnew DirectoryInfo("..\\GA\\Files");
array<FileInfo^>^fiArr = di->GetFiles();
Collections::IEnumerator^ myEnum = fiArr->GetEnumerator();
while ( myEnum->MoveNext() )
{
FileInfo^ fri = safe_cast<FileInfo^>(myEnum->Current);
Console::WriteLine( fri->Name );
}
My question is, what are all the "^" and if there is any documentation
anyone knows off so that I can read about it
regards,
Abhi