A
asnowfall
I get following compilation error
C3149: 'System::String' : cannot use this type here without a top-level
'^'.
Could someone explain why I get this error?
here is the code...
ImageFileData.h
---------------------------
public value class ImageFileData
{
public:
ImageFileData();
~ImageFileData();
array<String>^ getKeywords() ;///ERRRROR
private:
array<String>^ m_sKeyword;
};
ImageFileData.cpp
----------------------------
array<String>^ ImageFileData :: getKeywords( )
{
return m_sKeyword;
}
Thanks
Ramesh
C3149: 'System::String' : cannot use this type here without a top-level
'^'.
Could someone explain why I get this error?
here is the code...
ImageFileData.h
---------------------------
public value class ImageFileData
{
public:
ImageFileData();
~ImageFileData();
array<String>^ getKeywords() ;///ERRRROR
private:
array<String>^ m_sKeyword;
};
ImageFileData.cpp
----------------------------
array<String>^ ImageFileData :: getKeywords( )
{
return m_sKeyword;
}
Thanks
Ramesh