class A
X = 9
Y = B::X
end
class B
X = 8
Y = A::X
end
私は2つのクラスそれぞれいくつかの定数を定義するが、上記のように他の定数 を必要とするが、これは私にエラーを与えます: circular.rb:7:<class:A>': uninitialized constant A::B (NameE
CDB、TinyCDBのWindowsポートをお勧めしますか? TinyCDBは、Windows上でコンパイルして fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
fatal error C1083: Cannot open include file: 'nss.h': No s
1文字のASCII 127を含むcharまたは文字定数をどのように作成しますか? // Normal printing character - no problems
const char VPIPE = '|';
//error "The expression being assigned to 'DEL' must be constant"
const char DEL = new st