e******r 发帖数: 220 | 1 看都看晕了. .h file, 里面有指针, 象C++
可是, 里面又有^, ref, override, 又象C#
public ref class NetLatLongPoint : public IDisposable
{
private:
CLatLongPoint* m_unManagedLatLongPoint;
public:
virtual String^ ToString() override
{
String ^s = gcnew String("");
s += "Lat: " + m_unManagedLatLongPoint->lat + ", ";
s += "Lng: " + m_unManagedLatLongPoint->lng + ", ";
s += "Height: " + m_unManagedLatLongPoint->Z + ", ";
s += "U: " + m_unManagedLatLongPoint- | v******n 发帖数: 421 | 2 managed c++
【在 e******r 的大作中提到】 : 看都看晕了. .h file, 里面有指针, 象C++ : 可是, 里面又有^, ref, override, 又象C# : public ref class NetLatLongPoint : public IDisposable : { : private: : CLatLongPoint* m_unManagedLatLongPoint; : public: : virtual String^ ToString() override : { : String ^s = gcnew String("");
|
|