0_0_38905588_5721.c:8:5: error: expected specifier-qualifier-list before 'bign'
8 | bign() {
| ^~~~
0_0_38905588_5721.c:14:1: error: unknown type name 'bign'; use 'struct' keyword to refer to the type
14 | bign change(char str[]) {
| ^~~~
| struct
0_0_38905588_5721.c: In function 'change':
0_0_38905588_5721.c:15:5: error: unknown type name 'bign'; use 'struct' keyword to refer to the type
15 | bign a;
| ^~~~
| struct
0_0_38905588_5721.c:16:6: error: request for member 'len' in something not a structure or union
16 | a.len = strlen(str);
| ^
0_0_38905588_5721.c:17:26: error: request for member 'len' in something not a structure or union
17 | for (int i = 0; i < a.len; i++) {
| ^
0_0_38905588_5721.c:18:10: error: request for member 'd' in something not a structure or union
18 | a.d[i] = str[a.len - 1 - i] - '0';
| ^
0_0_38905588_5721.c:18:23: error: request for member 'len' in something not a structure or union
18 | a.d[i] = str[a.len - 1 - i] - '0';
| ^
0_0_38905588_5721.c: At top level:
0_0_38905588_5721.c:23:10: error: unknown type name 'bign'
23 | void add(bign a, bign b, bign& c) {
| ^~~~
0_0_38905588_5721.c:23:18: error: unknown type name 'bign'
23 | void add(bign a, bign b, bign& c) {
| ^~~~
0_0_38905588_5721.c:23:26: error: unknown type name 'bign'
23 | void add(bign a, bign b, bign& c) {
| ^~~~
0_0_38905588_5721.c:36:12: error: unknown type name 'bign'
36 | void print(bign a) {
| ^~~~
0_0_38905588_5721.c: In function 'main':
0_0_38905588_5721.c:45:5: error: unknown type name 'bign'; use 'struct' keyword to refer to the type
45 | bign a = change(str1);
| ^~~~
| struct
0_0_38905588_5721.c:46:5: error: unknown type name 'bign'; use 'struct' keyword to refer to the type
46 | bign b = change(str2);
| ^~~~
| struct
0_0_38905588_5721.c:47:5: error: unknown type name 'bign'; use 'struct' keyword to refer to the type
47 | bign c;
| ^~~~
| struct
|