Last active
August 6, 2018 23:02
-
-
Save borerere/fff337337cad0f5ccc73bf5da831f0f6 to your computer and use it in GitHub Desktop.
1.Run Script 2. Input Space-separated class name list 3.Output Class Definition
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: UTF-8 | |
list = raw_input().split() | |
for cls_name in list: | |
print("////////////////////////////////////////////////////////////////////////////") | |
print("// {0}".format(cls_name)) | |
print("////////////////////////////////////////////////////////////////////////////") | |
print("/*!") | |
print(" * @brief コンストラクタ") | |
print(" * @param ") | |
print(" * @return なし") | |
print(" * @throw なし") | |
print(" */") | |
print("{0}::{0}(){{}}".format(cls_name)) | |
print("") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment