2007-04-01ãã1ã¶æéã®è¨äºä¸è¦§
question:1175229198 使ãæãããã«ã¡ã½ããã«ãã¦ã¿ããã¾ããC/C++ ç¸å½ã®æ©è½ã¨ãC/C++ ã«ãç¡ãæ©è½ã追å ãã¦ã¿ãã*1 constant.rb #!ruby module Constant def self.enum_set(klass, names, init_val = 0) value = init_val.to_int names.each do |naâ¦