添加文本转换器代码

This commit is contained in:
zsyg
2025-07-07 16:52:56 +08:00
committed by GitHub
parent 525c823397
commit d5a0564847
29 changed files with 641 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
#ifndef ROT13CONVERTER_HPP
#define ROT13CONVERTER_HPP
#include "Converter.hpp"
#include <string>
#include <cctype>
class ROT13Converter : public Converter {
public:
std::string convert(const std::string& input) override;
std::string getName() const override { return "ROT13"; }
};
#endif // ROT13CONVERTER_HPP