There is a class. Here is his headline:
namespace FlightController { public ref class FlightController { public: FlightController(); }; } At my request, the studio itself added a constructor in .cpp of the following form:
#include "FlightController.h" FlightController::FlightController::FlightController() { throw gcnew System::NotImplementedException(); } I am confused by this:
FlightController::FlightController::FlightController() If I add to the .cpp file using namespace FlightController; , the compiler gives an error:
FlightController ambiguous character
Is it possible to get rid of the need for a source code file to write namespace::Класс::Метод ? Is it possible to reduce this to Метод or Класс::Метод ?
добавляю using namespace FlightController;cleaned part of neymspeysa? - Grundyusing namespace FlightController;leave:FlightController::FlightController::FlightController()orFlightController::FlightController()- Grundy