0_0_3933085_28489.cpp:10: error: declaration does not declare anything
0_0_3933085_28489.cpp:10: error: expected constructor, destructor, or type conversion before ';' token
0_0_3933085_28489.cpp: In function `void add(int)':
0_0_3933085_28489.cpp:18: error: `c' undeclared (first use this function)
0_0_3933085_28489.cpp:18: error: (Each undeclared identifier is reported only once for each function it appears in.)
0_0_3933085_28489.cpp: At global scope:
0_0_3933085_28489.cpp:23: error: declaration does not declare anything
0_0_3933085_28489.cpp:23: error: ISO C++ forbids declaration of `sum' with no type
0_0_3933085_28489.cpp: In function `int sum(int)':
0_0_3933085_28489.cpp:24: error: declaration does not declare anything
0_0_3933085_28489.cpp:24: error: `s' undeclared (first use this function)
0_0_3933085_28489.cpp:26: error: `c' undeclared (first use this function)
0_0_3933085_28489.cpp: In function `int main()':
0_0_3933085_28489.cpp:36: error: `c' undeclared (first use this function)
0_0_3933085_28489.cpp:37: error: declaration does not declare anything
0_0_3933085_28489.cpp:37: error: `val' undeclared (first use this function)
|