Something went wrong. Try again.
Java--'s try/catch projects.intra.42.fr/projects/cpp-module-05
Something went wrong. Try again.
470 B · 23 lines
C++
at main
123456789101112131415161718192021222324#pragma once
#include <AForm.hpp>#include <string>
class RobotomyRequestForm : public AForm { public: RobotomyRequestForm(); RobotomyRequestForm(const RobotomyRequestForm& other); RobotomyRequestForm(const std::string& target);
const std::string& getTarget() const;
RobotomyRequestForm& operator=(const RobotomyRequestForm& other);
virtual ~RobotomyRequestForm();
protected: virtual void executeAction() const;
private: std::string target;};