0_0_3059915_12945.cpp:1: error: `import' does not name a type
0_0_3059915_12945.cpp:2: error: `import' does not name a type
0_0_3059915_12945.cpp:3: error: `import' does not name a type
0_0_3059915_12945.cpp:6: error: `BigInteger' does not name a type
0_0_3059915_12945.cpp:8: error: expected `)' before "p"
0_0_3059915_12945.cpp:18: error: expected `:' before "String"
0_0_3059915_12945.cpp:18: error: `String' does not name a type
0_0_3059915_12945.cpp: In member function `Rational Rational::add(Rational)':
0_0_3059915_12945.cpp:14: error: `BigInteger' undeclared (first use this function)
0_0_3059915_12945.cpp:14: error: (Each undeclared identifier is reported only once for each function it appears in.)
0_0_3059915_12945.cpp:14: error: expected `;' before "x"
0_0_3059915_12945.cpp:15: error: `x' undeclared (first use this function)
0_0_3059915_12945.cpp:15: error: `y' undeclared (first use this function)
0_0_3059915_12945.cpp:15: error: new initializer expression list treated as compound expression
0_0_3059915_12945.cpp: At global scope:
0_0_3059915_12945.cpp:23: error: expected unqualified-id before "public"
0_0_3059915_12945.cpp:23: error: expected `,' or `;' before "public"
|