0_0_38905587_24889.c:8:5: error: expected specifier-qualifier-list before 'bign'
8 | bign() {
| ^~~~
0_0_38905587_24889.c:14:1: error: unknown type name 'bign'; use 'struct' keyword to refer to the type
14 | bign change(char str[]) {
| ^~~~
| struct
0_0_38905587_24889.c: In function 'change':
0_0_38905587_24889.c:15:5: error: unknown type name 'bign'; use 'struct' keyword to refer to the type
15 | bign a;
| ^~~~
| struct
0_0_38905587_24889.c:16:6: error: request for member 'len' in something not a structure or union
16 | a.len = strlen(str);
| ^
0_0_38905587_24889.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_38905587_24889.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_38905587_24889.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_38905587_24889.c: At top level:
0_0_38905587_24889.c:23:1: error: unknown type name 'bign'; use 'struct' keyword to refer to the type
23 | bign add(bign a, bign b) {
| ^~~~
| struct
0_0_38905587_24889.c:23:10: error: unknown type name 'bign'
23 | bign add(bign a, bign b) {
| ^~~~
0_0_38905587_24889.c:23:18: error: unknown type name 'bign'
23 | bign add(bign a, bign b) {
| ^~~~
0_0_38905587_24889.c:38:12: error: unknown type name 'bign'
38 | void print(bign a) {
| ^~~~
0_0_38905587_24889.c: In function 'main':
0_0_38905587_24889.c:47:5: error: unknown type name 'bign'; use 'struct' keyword to refer to the type
47 | bign a = change(str1);
| ^~~~
| struct
0_0_38905587_24889.c:48:5: error: unknown type name 'bign'; use 'struct' keyword to refer to the type
48 | bign b = change(str2);
| ^~~~
| struct
|