825564_0_0_22858.cpp:48: error: expected `}' at end of input
825564_0_0_22858.cpp: In constructor `Dp::Dp()':
825564_0_0_22858.cpp:6: error: `dp' undeclared (first use this function)
825564_0_0_22858.cpp:6: error: (Each undeclared identifier is reported only once for each function it appears in.)
825564_0_0_22858.cpp:8: error: a function-definition is not allowed here before '{' token
825564_0_0_22858.cpp:8: error: expected `,' or `;' before '{' token
825564_0_0_22858.cpp:11: error: expected primary-expression before "private"
825564_0_0_22858.cpp:11: error: expected `;' before "private"
825564_0_0_22858.cpp: In member function `int Dp::main()':
825564_0_0_22858.cpp:28: error: `p' undeclared (first use this function)
825564_0_0_22858.cpp:28: error: `h' undeclared (first use this function)
825564_0_0_22858.cpp:39: error: no match for 'operator[]' in 'dp[i]'
825564_0_0_22858.cpp:39: error: no match for 'operator[]' in 'dp[(i - 1)]'
825564_0_0_22858.cpp:42: error: no match for 'operator[]' in 'dp[i]'
825564_0_0_22858.cpp:42: error: no match for 'operator[]' in 'dp[(i - 1)]'
825564_0_0_22858.cpp:42: error: no match for 'operator[]' in 'dp[(i - 1)]'
825564_0_0_22858.cpp:46: error: no match for 'operator[]' in 'dp[m]'
825564_0_0_22858.cpp: At global scope:
825564_0_0_22858.cpp:48: error: expected unqualified-id at end of input
825564_0_0_22858.cpp:48: error: expected `,' or `;' at end of input
|