From 5f19b7510ba409b850fbe43d5ba118090abd2d9c Mon Sep 17 00:00:00 2001 From: Mars Liu Date: Sat, 23 Oct 2021 16:26:48 +0800 Subject: [PATCH] prepare exerceses structure --- .../config.json" | 4 +- .../config.json" | 4 +- .../config.json" | 4 +- .../config.json" | 4 +- .../config.json" | 4 +- .../config.json" | 20 ++--- .../config.json" | 4 +- .../3.\346\214\207\351\222\210/config.json" | 4 +- .../config.json" | 17 ++-- .../config.json" | 19 ++--- .../config.json" | 4 +- .../config.json" | 18 ++--- .../config.json" | 18 ++--- .../config.json" | 4 +- .../config.json" | 18 ++--- .../config.json" | 20 ++--- .../config.json" | 18 ++--- .../config.json" | 16 ++-- .../config.json" | 4 +- .../config.json" | 4 +- .../config.json" | 4 +- .../config.json" | 8 +- .../config.json" | 8 +- .../define_constant.json" | 7 +- .../define_func_1.json" | 7 +- .../define_func_2.json" | 7 +- .../define_func_3.json" | 9 ++- .../calc.json" | 33 ++++---- .../calc_test.json" | 29 +++---- .../config.json" | 4 +- data/tree.json | 79 +++++++++++++++---- 31 files changed, 244 insertions(+), 159 deletions(-) diff --git "a/data/1.C\350\257\255\350\250\200\345\210\235\351\230\266/3.\350\277\220\347\256\227\347\254\246\344\270\216\350\241\250\350\276\276\345\274\217/config.json" "b/data/1.C\350\257\255\350\250\200\345\210\235\351\230\266/3.\350\277\220\347\256\227\347\254\246\344\270\216\350\241\250\350\276\276\345\274\217/config.json" index d69bd14..dbf2839 100644 --- "a/data/1.C\350\257\255\350\250\200\345\210\235\351\230\266/3.\350\277\220\347\256\227\347\254\246\344\270\216\350\241\250\350\276\276\345\274\217/config.json" +++ "b/data/1.C\350\257\255\350\250\200\345\210\235\351\230\266/3.\350\277\220\347\256\227\347\254\246\344\270\216\350\241\250\350\276\276\345\274\217/config.json" @@ -46,6 +46,8 @@ } } ], - "export": [], + "export": [ + "basic_data_types.json" + ], "node_id": "569d5e11c4fc5de7844053d9a733c5e8" } \ No newline at end of file diff --git "a/data/1.C\350\257\255\350\250\200\345\210\235\351\230\266/4.\350\257\255\345\217\245\344\270\216\346\216\247\345\210\266\346\265\201/config.json" "b/data/1.C\350\257\255\350\250\200\345\210\235\351\230\266/4.\350\257\255\345\217\245\344\270\216\346\216\247\345\210\266\346\265\201/config.json" index 9dba67e..b149c93 100644 --- "a/data/1.C\350\257\255\350\250\200\345\210\235\351\230\266/4.\350\257\255\345\217\245\344\270\216\346\216\247\345\210\266\346\265\201/config.json" +++ "b/data/1.C\350\257\255\350\250\200\345\210\235\351\230\266/4.\350\257\255\345\217\245\344\270\216\346\216\247\345\210\266\346\265\201/config.json" @@ -5,5 +5,7 @@ "C语言" ], "children": [], - "export": [] + "export": [ + "precedence.json" + ] } \ No newline at end of file diff --git "a/data/2.C\350\257\255\350\250\200\344\270\255\351\230\266/1.\345\207\275\346\225\260\344\270\216\347\250\213\345\272\217\347\273\223\346\236\204/1.\345\207\275\346\225\260\347\232\204\345\243\260\346\230\216\344\270\216\345\256\232\344\271\211/config.json" "b/data/2.C\350\257\255\350\250\200\344\270\255\351\230\266/1.\345\207\275\346\225\260\344\270\216\347\250\213\345\272\217\347\273\223\346\236\204/1.\345\207\275\346\225\260\347\232\204\345\243\260\346\230\216\344\270\216\345\256\232\344\271\211/config.json" index adcd398..596080f 100644 --- "a/data/2.C\350\257\255\350\250\200\344\270\255\351\230\266/1.\345\207\275\346\225\260\344\270\216\347\250\213\345\272\217\347\273\223\346\236\204/1.\345\207\275\346\225\260\347\232\204\345\243\260\346\230\216\344\270\216\345\256\232\344\271\211/config.json" +++ "b/data/2.C\350\257\255\350\250\200\344\270\255\351\230\266/1.\345\207\275\346\225\260\344\270\216\347\250\213\345\272\217\347\273\223\346\236\204/1.\345\207\275\346\225\260\347\232\204\345\243\260\346\230\216\344\270\216\345\256\232\344\271\211/config.json" @@ -6,5 +6,7 @@ "C语言" ], "children": [], - "export": ["definition.json"] + "export": [ + "definition.json" + ] } \ No newline at end of file diff --git "a/data/2.C\350\257\255\350\250\200\344\270\255\351\230\266/1.\345\207\275\346\225\260\344\270\216\347\250\213\345\272\217\347\273\223\346\236\204/3.\345\207\275\346\225\260\347\232\204\350\277\224\345\233\236/config.json" "b/data/2.C\350\257\255\350\250\200\344\270\255\351\230\266/1.\345\207\275\346\225\260\344\270\216\347\250\213\345\272\217\347\273\223\346\236\204/3.\345\207\275\346\225\260\347\232\204\350\277\224\345\233\236/config.json" index 09c4d39..28b44cb 100644 --- "a/data/2.C\350\257\255\350\250\200\344\270\255\351\230\266/1.\345\207\275\346\225\260\344\270\216\347\250\213\345\272\217\347\273\223\346\236\204/3.\345\207\275\346\225\260\347\232\204\350\277\224\345\233\236/config.json" +++ "b/data/2.C\350\257\255\350\250\200\344\270\255\351\230\266/1.\345\207\275\346\225\260\344\270\216\347\250\213\345\272\217\347\273\223\346\236\204/3.\345\207\275\346\225\260\347\232\204\350\277\224\345\233\236/config.json" @@ -6,5 +6,7 @@ "C语言" ], "children": [], - "export": ["return.json"] + "export": [ + "return.json" + ] } \ No newline at end of file diff --git "a/data/2.C\350\257\255\350\250\200\344\270\255\351\230\266/1.\345\207\275\346\225\260\344\270\216\347\250\213\345\272\217\347\273\223\346\236\204/4.\345\207\275\346\225\260\347\232\204\350\260\203\347\224\250/config.json" "b/data/2.C\350\257\255\350\250\200\344\270\255\351\230\266/1.\345\207\275\346\225\260\344\270\216\347\250\213\345\272\217\347\273\223\346\236\204/4.\345\207\275\346\225\260\347\232\204\350\260\203\347\224\250/config.json" index 73a6d6e..3448e84 100644 --- "a/data/2.C\350\257\255\350\250\200\344\270\255\351\230\266/1.\345\207\275\346\225\260\344\270\216\347\250\213\345\272\217\347\273\223\346\236\204/4.\345\207\275\346\225\260\347\232\204\350\260\203\347\224\250/config.json" +++ "b/data/2.C\350\257\255\350\250\200\344\270\255\351\230\266/1.\345\207\275\346\225\260\344\270\216\347\250\213\345\272\217\347\273\223\346\236\204/4.\345\207\275\346\225\260\347\232\204\350\260\203\347\224\250/config.json" @@ -6,5 +6,7 @@ "C语言" ], "children": [], - "export": ["function_call.json"] + "export": [ + "function_call.json" + ] } \ No newline at end of file diff --git "a/data/2.C\350\257\255\350\250\200\344\270\255\351\230\266/1.\345\207\275\346\225\260\344\270\216\347\250\213\345\272\217\347\273\223\346\236\204/6.\345\261\200\351\203\250\345\217\230\351\207\217\345\222\214\345\205\250\345\261\200\345\217\230\351\207\217/config.json" "b/data/2.C\350\257\255\350\250\200\344\270\255\351\230\266/1.\345\207\275\346\225\260\344\270\216\347\250\213\345\272\217\347\273\223\346\236\204/6.\345\261\200\351\203\250\345\217\230\351\207\217\345\222\214\345\205\250\345\261\200\345\217\230\351\207\217/config.json" index 212b0cb..464af96 100644 --- "a/data/2.C\350\257\255\350\250\200\344\270\255\351\230\266/1.\345\207\275\346\225\260\344\270\216\347\250\213\345\272\217\347\273\223\346\236\204/6.\345\261\200\351\203\250\345\217\230\351\207\217\345\222\214\345\205\250\345\261\200\345\217\230\351\207\217/config.json" +++ "b/data/2.C\350\257\255\350\250\200\344\270\255\351\230\266/1.\345\207\275\346\225\260\344\270\216\347\250\213\345\272\217\347\273\223\346\236\204/6.\345\261\200\351\203\250\345\217\230\351\207\217\345\222\214\345\205\250\345\261\200\345\217\230\351\207\217/config.json" @@ -1,10 +1,12 @@ { - "node_id": "569d5e11c4fc5de7844053d9a733c5e8", - "keywords": [ - "C语言概述", - "概述", - "C语言" - ], - "children": [], - "export": ["global_n_local_var.json"] - } \ No newline at end of file + "node_id": "569d5e11c4fc5de7844053d9a733c5e8", + "keywords": [ + "C语言概述", + "概述", + "C语言" + ], + "children": [], + "export": [ + "global_n_local_var.json" + ] +} \ No newline at end of file diff --git "a/data/2.C\350\257\255\350\250\200\344\270\255\351\230\266/3.\346\214\207\351\222\210/5.\346\214\207\351\222\210\346\225\260\347\273\204\344\273\245\345\217\212\346\214\207\345\220\221\346\214\207\351\222\210\347\232\204\346\214\207\351\222\210/config.json" "b/data/2.C\350\257\255\350\250\200\344\270\255\351\230\266/3.\346\214\207\351\222\210/5.\346\214\207\351\222\210\346\225\260\347\273\204\344\273\245\345\217\212\346\214\207\345\220\221\346\214\207\351\222\210\347\232\204\346\214\207\351\222\210/config.json" index 587e428..1cc596f 100644 --- "a/data/2.C\350\257\255\350\250\200\344\270\255\351\230\266/3.\346\214\207\351\222\210/5.\346\214\207\351\222\210\346\225\260\347\273\204\344\273\245\345\217\212\346\214\207\345\220\221\346\214\207\351\222\210\347\232\204\346\214\207\351\222\210/config.json" +++ "b/data/2.C\350\257\255\350\250\200\344\270\255\351\230\266/3.\346\214\207\351\222\210/5.\346\214\207\351\222\210\346\225\260\347\273\204\344\273\245\345\217\212\346\214\207\345\220\221\346\214\207\351\222\210\347\232\204\346\214\207\351\222\210/config.json" @@ -5,5 +5,7 @@ "C语言" ], "children": [], - "export": ["pointers_array.json"] + "export": [ + "pointers_array.json" + ] } \ No newline at end of file diff --git "a/data/2.C\350\257\255\350\250\200\344\270\255\351\230\266/3.\346\214\207\351\222\210/config.json" "b/data/2.C\350\257\255\350\250\200\344\270\255\351\230\266/3.\346\214\207\351\222\210/config.json" index c9193bb..644fbac 100644 --- "a/data/2.C\350\257\255\350\250\200\344\270\255\351\230\266/3.\346\214\207\351\222\210/config.json" +++ "b/data/2.C\350\257\255\350\250\200\344\270\255\351\230\266/3.\346\214\207\351\222\210/config.json" @@ -5,5 +5,7 @@ "C语言" ], "children": [], - "export": [] + "export": [ + "vla.json" + ] } \ No newline at end of file diff --git "a/data/2.C\350\257\255\350\250\200\344\270\255\351\230\266/4.\345\255\227\347\254\246\344\270\262/1.\345\255\227\347\254\246\344\270\262\350\276\223\345\205\245\344\270\216\350\276\223\345\207\272/config.json" "b/data/2.C\350\257\255\350\250\200\344\270\255\351\230\266/4.\345\255\227\347\254\246\344\270\262/1.\345\255\227\347\254\246\344\270\262\350\276\223\345\205\245\344\270\216\350\276\223\345\207\272/config.json" index 97e5584..c1f8fd7 100644 --- "a/data/2.C\350\257\255\350\250\200\344\270\255\351\230\266/4.\345\255\227\347\254\246\344\270\262/1.\345\255\227\347\254\246\344\270\262\350\276\223\345\205\245\344\270\216\350\276\223\345\207\272/config.json" +++ "b/data/2.C\350\257\255\350\250\200\344\270\255\351\230\266/4.\345\255\227\347\254\246\344\270\262/1.\345\255\227\347\254\246\344\270\262\350\276\223\345\205\245\344\270\216\350\276\223\345\207\272/config.json" @@ -1,9 +1,12 @@ { - "keywords": [ - "C语言概述", - "概述", - "C语言" - ], - "children": [], - "export": ["string_io.json"] + "keywords": [ + "C语言概述", + "概述", + "C语言" + ], + "children": [], + "export": [ + "string_io.json" + ], + "node_id": "569d5e11c4fc5de7844053d9a733c5e8" } \ No newline at end of file diff --git "a/data/2.C\350\257\255\350\250\200\344\270\255\351\230\266/4.\345\255\227\347\254\246\344\270\262/2.\345\255\227\347\254\246\344\270\262\345\207\275\346\225\260/config.json" "b/data/2.C\350\257\255\350\250\200\344\270\255\351\230\266/4.\345\255\227\347\254\246\344\270\262/2.\345\255\227\347\254\246\344\270\262\345\207\275\346\225\260/config.json" index 6183b55..390f2b1 100644 --- "a/data/2.C\350\257\255\350\250\200\344\270\255\351\230\266/4.\345\255\227\347\254\246\344\270\262/2.\345\255\227\347\254\246\344\270\262\345\207\275\346\225\260/config.json" +++ "b/data/2.C\350\257\255\350\250\200\344\270\255\351\230\266/4.\345\255\227\347\254\246\344\270\262/2.\345\255\227\347\254\246\344\270\262\345\207\275\346\225\260/config.json" @@ -1,11 +1,12 @@ { - "keywords": [ - "C语言概述", - "概述", - "C语言" - ], - "children": [], - "export": [ - "string_func.json" - ] + "keywords": [ + "C语言概述", + "概述", + "C语言" + ], + "children": [], + "export": [ + "string_func.json" + ], + "node_id": "569d5e11c4fc5de7844053d9a733c5e8" } \ No newline at end of file diff --git "a/data/2.C\350\257\255\350\250\200\344\270\255\351\230\266/4.\345\255\227\347\254\246\344\270\262/config.json" "b/data/2.C\350\257\255\350\250\200\344\270\255\351\230\266/4.\345\255\227\347\254\246\344\270\262/config.json" index 57fc5bd..713cdec 100644 --- "a/data/2.C\350\257\255\350\250\200\344\270\255\351\230\266/4.\345\255\227\347\254\246\344\270\262/config.json" +++ "b/data/2.C\350\257\255\350\250\200\344\270\255\351\230\266/4.\345\255\227\347\254\246\344\270\262/config.json" @@ -5,5 +5,7 @@ "C语言" ], "children": [], - "export": [] + "export": [ + "pointers_2_func.json" + ] } \ No newline at end of file diff --git "a/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/1.\347\273\223\346\236\204\344\275\223/1.\347\273\223\346\236\204\344\275\223\347\256\200\344\273\213/config.json" "b/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/1.\347\273\223\346\236\204\344\275\223/1.\347\273\223\346\236\204\344\275\223\347\256\200\344\273\213/config.json" index e12534c..aa448d3 100644 --- "a/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/1.\347\273\223\346\236\204\344\275\223/1.\347\273\223\346\236\204\344\275\223\347\256\200\344\273\213/config.json" +++ "b/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/1.\347\273\223\346\236\204\344\275\223/1.\347\273\223\346\236\204\344\275\223\347\256\200\344\273\213/config.json" @@ -1,11 +1,11 @@ { - "node_id": "569d5e11c4fc5de7844053d9a733c5e8", - "keywords": [ - "结构体", - "C语言" - ], - "children": [], - "export": [ - "structures.json" - ] + "node_id": "569d5e11c4fc5de7844053d9a733c5e8", + "keywords": [ + "结构体", + "C语言" + ], + "children": [], + "export": [ + "structures.json" + ] } \ No newline at end of file diff --git "a/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/1.\347\273\223\346\236\204\344\275\223/3.\347\273\223\346\236\204\344\275\223\346\214\207\351\222\210/config.json" "b/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/1.\347\273\223\346\236\204\344\275\223/3.\347\273\223\346\236\204\344\275\223\346\214\207\351\222\210/config.json" index 3eb7bbd..4dc1b8c 100644 --- "a/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/1.\347\273\223\346\236\204\344\275\223/3.\347\273\223\346\236\204\344\275\223\346\214\207\351\222\210/config.json" +++ "b/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/1.\347\273\223\346\236\204\344\275\223/3.\347\273\223\346\236\204\344\275\223\346\214\207\351\222\210/config.json" @@ -1,11 +1,11 @@ { - "node_id": "569d5e11c4fc5de7844053d9a733c5e8", - "keywords": [ - "结构体", - "C语言" - ], - "children": [], - "export": [ - "structures_pointers.json" - ] + "node_id": "569d5e11c4fc5de7844053d9a733c5e8", + "keywords": [ + "结构体", + "C语言" + ], + "children": [], + "export": [ + "structures_pointers.json" + ] } \ No newline at end of file diff --git "a/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/1.\347\273\223\346\236\204\344\275\223/4.\347\273\223\346\236\204\344\275\223\344\270\216\345\207\275\346\225\260/config.json" "b/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/1.\347\273\223\346\236\204\344\275\223/4.\347\273\223\346\236\204\344\275\223\344\270\216\345\207\275\346\225\260/config.json" index 21eb34d..1617ea7 100644 --- "a/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/1.\347\273\223\346\236\204\344\275\223/4.\347\273\223\346\236\204\344\275\223\344\270\216\345\207\275\346\225\260/config.json" +++ "b/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/1.\347\273\223\346\236\204\344\275\223/4.\347\273\223\346\236\204\344\275\223\344\270\216\345\207\275\346\225\260/config.json" @@ -5,5 +5,7 @@ "C语言" ], "children": [], - "export": ["structures_n_func.json"] + "export": [ + "structures_n_func.json" + ] } \ No newline at end of file diff --git "a/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/1.\347\273\223\346\236\204\344\275\223/5.\351\223\276\345\274\217\347\273\223\346\236\204/config.json" "b/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/1.\347\273\223\346\236\204\344\275\223/5.\351\223\276\345\274\217\347\273\223\346\236\204/config.json" index 44d7cc1..d31b640 100644 --- "a/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/1.\347\273\223\346\236\204\344\275\223/5.\351\223\276\345\274\217\347\273\223\346\236\204/config.json" +++ "b/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/1.\347\273\223\346\236\204\344\275\223/5.\351\223\276\345\274\217\347\273\223\346\236\204/config.json" @@ -1,11 +1,11 @@ { - "node_id": "569d5e11c4fc5de7844053d9a733c5e8", - "keywords": [ - "结构体", - "C语言" - ], - "children": [], - "export": [ - "linked_list.json" - ] + "node_id": "569d5e11c4fc5de7844053d9a733c5e8", + "keywords": [ + "结构体", + "C语言" + ], + "children": [], + "export": [ + "linked_list.json" + ] } \ No newline at end of file diff --git "a/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/2.\350\201\224\345\220\210\344\275\223\344\270\216\346\236\232\344\270\276\347\261\273\345\236\213/1.\350\201\224\345\220\210\344\275\223/config.json" "b/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/2.\350\201\224\345\220\210\344\275\223\344\270\216\346\236\232\344\270\276\347\261\273\345\236\213/1.\350\201\224\345\220\210\344\275\223/config.json" index 60778a7..31c24b1 100644 --- "a/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/2.\350\201\224\345\220\210\344\275\223\344\270\216\346\236\232\344\270\276\347\261\273\345\236\213/1.\350\201\224\345\220\210\344\275\223/config.json" +++ "b/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/2.\350\201\224\345\220\210\344\275\223\344\270\216\346\236\232\344\270\276\347\261\273\345\236\213/1.\350\201\224\345\220\210\344\275\223/config.json" @@ -1,11 +1,11 @@ { - "node_id": "569d5e11c4fc5de7844053d9a733c5e8", - "keywords": [ - "联合体", - "共用体" - ], - "children": [], - "export": [ - "unions.json" - ] - } \ No newline at end of file + "node_id": "569d5e11c4fc5de7844053d9a733c5e8", + "keywords": [ + "联合体", + "共用体" + ], + "children": [], + "export": [ + "unions.json" + ] +} \ No newline at end of file diff --git "a/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/2.\350\201\224\345\220\210\344\275\223\344\270\216\346\236\232\344\270\276\347\261\273\345\236\213/2.\346\236\232\344\270\276\347\261\273\345\236\213/config.json" "b/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/2.\350\201\224\345\220\210\344\275\223\344\270\216\346\236\232\344\270\276\347\261\273\345\236\213/2.\346\236\232\344\270\276\347\261\273\345\236\213/config.json" index 8589445..6596c00 100644 --- "a/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/2.\350\201\224\345\220\210\344\275\223\344\270\216\346\236\232\344\270\276\347\261\273\345\236\213/2.\346\236\232\344\270\276\347\261\273\345\236\213/config.json" +++ "b/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/2.\350\201\224\345\220\210\344\275\223\344\270\216\346\236\232\344\270\276\347\261\273\345\236\213/2.\346\236\232\344\270\276\347\261\273\345\236\213/config.json" @@ -1,11 +1,11 @@ { - "node_id": "569d5e11c4fc5de7844053d9a733c5e8", - "keywords": [ - "枚举", - "枚举类型" - ], - "children": [], - "export": [ - "enum.json" - ] + "node_id": "569d5e11c4fc5de7844053d9a733c5e8", + "keywords": [ + "枚举", + "枚举类型" + ], + "children": [], + "export": [ + "enum.json" + ] } \ No newline at end of file diff --git "a/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/2.\350\201\224\345\220\210\344\275\223\344\270\216\346\236\232\344\270\276\347\261\273\345\236\213/config.json" "b/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/2.\350\201\224\345\220\210\344\275\223\344\270\216\346\236\232\344\270\276\347\261\273\345\236\213/config.json" index 6e3dabe..d31b640 100644 --- "a/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/2.\350\201\224\345\220\210\344\275\223\344\270\216\346\236\232\344\270\276\347\261\273\345\236\213/config.json" +++ "b/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/2.\350\201\224\345\220\210\344\275\223\344\270\216\346\236\232\344\270\276\347\261\273\345\236\213/config.json" @@ -1,9 +1,11 @@ { - "node_id": "569d5e11c4fc5de7844053d9a733c5e8", - "keywords": [ - "联合体", - "共用体", - "枚举类型", - "枚举" - ] + "node_id": "569d5e11c4fc5de7844053d9a733c5e8", + "keywords": [ + "结构体", + "C语言" + ], + "children": [], + "export": [ + "linked_list.json" + ] } \ No newline at end of file diff --git "a/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/3.\344\275\215\350\277\220\347\256\227/1.\344\275\215\345\222\214\345\255\227\350\212\202/config.json" "b/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/3.\344\275\215\350\277\220\347\256\227/1.\344\275\215\345\222\214\345\255\227\350\212\202/config.json" index 692559a..1ca86a9 100644 --- "a/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/3.\344\275\215\350\277\220\347\256\227/1.\344\275\215\345\222\214\345\255\227\350\212\202/config.json" +++ "b/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/3.\344\275\215\350\277\220\347\256\227/1.\344\275\215\345\222\214\345\255\227\350\212\202/config.json" @@ -6,5 +6,7 @@ "C语言" ], "children": [], - "export": ["check.json"] + "export": [ + "check.json" + ] } \ No newline at end of file diff --git "a/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/3.\344\275\215\350\277\220\347\256\227/2.\344\272\214\350\277\233\345\210\266\346\225\260/config.json" "b/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/3.\344\275\215\350\277\220\347\256\227/2.\344\272\214\350\277\233\345\210\266\346\225\260/config.json" index a8159a5..293286d 100644 --- "a/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/3.\344\275\215\350\277\220\347\256\227/2.\344\272\214\350\277\233\345\210\266\346\225\260/config.json" +++ "b/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/3.\344\275\215\350\277\220\347\256\227/2.\344\272\214\350\277\233\345\210\266\346\225\260/config.json" @@ -6,5 +6,7 @@ "C语言" ], "children": [], - "export": ["count.json"] + "export": [ + "count.json" + ] } \ No newline at end of file diff --git "a/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/3.\344\275\215\350\277\220\347\256\227/3.\345\205\253\350\277\233\345\210\266/config.json" "b/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/3.\344\275\215\350\277\220\347\256\227/3.\345\205\253\350\277\233\345\210\266/config.json" index 66cb2b1..0decab1 100644 --- "a/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/3.\344\275\215\350\277\220\347\256\227/3.\345\205\253\350\277\233\345\210\266/config.json" +++ "b/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/3.\344\275\215\350\277\220\347\256\227/3.\345\205\253\350\277\233\345\210\266/config.json" @@ -6,5 +6,7 @@ "C语言" ], "children": [], - "export": ["oct.json"] + "export": [ + "oct.json" + ] } \ No newline at end of file diff --git "a/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/3.\344\275\215\350\277\220\347\256\227/config.json" "b/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/3.\344\275\215\350\277\220\347\256\227/config.json" index 304857b..6596c00 100644 --- "a/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/3.\344\275\215\350\277\220\347\256\227/config.json" +++ "b/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/3.\344\275\215\350\277\220\347\256\227/config.json" @@ -1,9 +1,11 @@ { "node_id": "569d5e11c4fc5de7844053d9a733c5e8", "keywords": [ - "结构体", - "C语言" + "枚举", + "枚举类型" ], "children": [], - "export": [] + "export": [ + "enum.json" + ] } \ No newline at end of file diff --git "a/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/4.\351\242\204\345\244\204\347\220\206\345\231\250/1.\345\256\217\345\256\232\344\271\211/config.json" "b/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/4.\351\242\204\345\244\204\347\220\206\345\231\250/1.\345\256\217\345\256\232\344\271\211/config.json" index 56ffce1..cfc1529 100644 --- "a/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/4.\351\242\204\345\244\204\347\220\206\345\231\250/1.\345\256\217\345\256\232\344\271\211/config.json" +++ "b/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/4.\351\242\204\345\244\204\347\220\206\345\231\250/1.\345\256\217\345\256\232\344\271\211/config.json" @@ -7,9 +7,9 @@ ], "children": [], "export": [ - "define_constant.json", - "define_func_1.json", - "define_func_2.json", - "define_func_3.json" + "define_constant.json", + "define_func_1.json", + "define_func_2.json", + "define_func_3.json" ] } \ No newline at end of file diff --git "a/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/4.\351\242\204\345\244\204\347\220\206\345\231\250/1.\345\256\217\345\256\232\344\271\211/define_constant.json" "b/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/4.\351\242\204\345\244\204\347\220\206\345\231\250/1.\345\256\217\345\256\232\344\271\211/define_constant.json" index 6bb2d6a..369c045 100644 --- "a/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/4.\351\242\204\345\244\204\347\220\206\345\231\250/1.\345\256\217\345\256\232\344\271\211/define_constant.json" +++ "b/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/4.\351\242\204\345\244\204\347\220\206\345\231\250/1.\345\256\217\345\256\232\344\271\211/define_constant.json" @@ -1,5 +1,6 @@ { - "type": "code_options", - "author": "幻灰龙", - "source": "define_constant.md" + "type": "code_options", + "author": "幻灰龙", + "source": "define_constant.md", + "exercise_id": "569d5e11c4fc5de7844053d9a733c5e8" } \ No newline at end of file diff --git "a/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/4.\351\242\204\345\244\204\347\220\206\345\231\250/1.\345\256\217\345\256\232\344\271\211/define_func_1.json" "b/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/4.\351\242\204\345\244\204\347\220\206\345\231\250/1.\345\256\217\345\256\232\344\271\211/define_func_1.json" index ec7add9..78095f6 100644 --- "a/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/4.\351\242\204\345\244\204\347\220\206\345\231\250/1.\345\256\217\345\256\232\344\271\211/define_func_1.json" +++ "b/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/4.\351\242\204\345\244\204\347\220\206\345\231\250/1.\345\256\217\345\256\232\344\271\211/define_func_1.json" @@ -1,5 +1,6 @@ { - "type": "code_options", - "author": "幻灰龙", - "source": "define_func_1.md" + "type": "code_options", + "author": "幻灰龙", + "source": "define_func_1.md", + "exercise_id": "569d5e11c4fc5de7844053d9a733c5e8" } \ No newline at end of file diff --git "a/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/4.\351\242\204\345\244\204\347\220\206\345\231\250/1.\345\256\217\345\256\232\344\271\211/define_func_2.json" "b/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/4.\351\242\204\345\244\204\347\220\206\345\231\250/1.\345\256\217\345\256\232\344\271\211/define_func_2.json" index b241dd7..44fab15 100644 --- "a/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/4.\351\242\204\345\244\204\347\220\206\345\231\250/1.\345\256\217\345\256\232\344\271\211/define_func_2.json" +++ "b/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/4.\351\242\204\345\244\204\347\220\206\345\231\250/1.\345\256\217\345\256\232\344\271\211/define_func_2.json" @@ -1,5 +1,6 @@ { - "type": "code_options", - "author": "幻灰龙", - "source": "define_func_2.md" + "type": "code_options", + "author": "幻灰龙", + "source": "define_func_2.md", + "exercise_id": "569d5e11c4fc5de7844053d9a733c5e8" } \ No newline at end of file diff --git "a/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/4.\351\242\204\345\244\204\347\220\206\345\231\250/1.\345\256\217\345\256\232\344\271\211/define_func_3.json" "b/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/4.\351\242\204\345\244\204\347\220\206\345\231\250/1.\345\256\217\345\256\232\344\271\211/define_func_3.json" index 518d5b8..8a54091 100644 --- "a/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/4.\351\242\204\345\244\204\347\220\206\345\231\250/1.\345\256\217\345\256\232\344\271\211/define_func_3.json" +++ "b/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/4.\351\242\204\345\244\204\347\220\206\345\231\250/1.\345\256\217\345\256\232\344\271\211/define_func_3.json" @@ -1,5 +1,6 @@ { - "type": "code_options", - "author": "幻灰龙", - "source": "define_func_3.md" -} + "type": "code_options", + "author": "幻灰龙", + "source": "define_func_3.md", + "exercise_id": "569d5e11c4fc5de7844053d9a733c5e8" +} \ No newline at end of file diff --git "a/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/4.\351\242\204\345\244\204\347\220\206\345\231\250/2.#include\346\214\207\344\273\244/calc.json" "b/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/4.\351\242\204\345\244\204\347\220\206\345\231\250/2.#include\346\214\207\344\273\244/calc.json" index f258bec..61b842c 100644 --- "a/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/4.\351\242\204\345\244\204\347\220\206\345\231\250/2.#include\346\214\207\344\273\244/calc.json" +++ "b/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/4.\351\242\204\345\244\204\347\220\206\345\231\250/2.#include\346\214\207\344\273\244/calc.json" @@ -1,18 +1,19 @@ { - "type": "code_options", - "author": "幻灰龙", - "source": "calc.h", - "multiline":[ - { - "#ifndef CALC_H": "", - "#define CALC_H": "", - "#endif": "" - }, - { - "#define CALC_H": "" - }, - { - "#ifndef CALC_H": "" - } - ] + "type": "code_options", + "author": "幻灰龙", + "source": "calc.h", + "multiline": [ + { + "#ifndef CALC_H": "", + "#define CALC_H": "", + "#endif": "" + }, + { + "#define CALC_H": "" + }, + { + "#ifndef CALC_H": "" + } + ], + "exercise_id": "569d5e11c4fc5de7844053d9a733c5e8" } \ No newline at end of file diff --git "a/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/4.\351\242\204\345\244\204\347\220\206\345\231\250/2.#include\346\214\207\344\273\244/calc_test.json" "b/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/4.\351\242\204\345\244\204\347\220\206\345\231\250/2.#include\346\214\207\344\273\244/calc_test.json" index 0aa413c..3a23c86 100644 --- "a/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/4.\351\242\204\345\244\204\347\220\206\345\231\250/2.#include\346\214\207\344\273\244/calc_test.json" +++ "b/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/4.\351\242\204\345\244\204\347\220\206\345\231\250/2.#include\346\214\207\344\273\244/calc_test.json" @@ -1,16 +1,17 @@ { - "type": "code_options", - "author": "幻灰龙", - "source": "calc_test.c", - "multiline":[ - { - "#include \"calc.h\"":"#include " - }, - { - "#include \"calc.h\"":"using \"calc.h\"" - }, - { - "#include \"calc.h\"":"#include(\"calc.h\")" - } - ] + "type": "code_options", + "author": "幻灰龙", + "source": "calc_test.c", + "multiline": [ + { + "#include \"calc.h\"": "#include " + }, + { + "#include \"calc.h\"": "using \"calc.h\"" + }, + { + "#include \"calc.h\"": "#include(\"calc.h\")" + } + ], + "exercise_id": "569d5e11c4fc5de7844053d9a733c5e8" } \ No newline at end of file diff --git "a/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/4.\351\242\204\345\244\204\347\220\206\345\231\250/2.#include\346\214\207\344\273\244/config.json" "b/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/4.\351\242\204\345\244\204\347\220\206\345\231\250/2.#include\346\214\207\344\273\244/config.json" index d26f4d1..8af91f8 100644 --- "a/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/4.\351\242\204\345\244\204\347\220\206\345\231\250/2.#include\346\214\207\344\273\244/config.json" +++ "b/data/3.C\350\257\255\350\250\200\351\253\230\351\230\266/4.\351\242\204\345\244\204\347\220\206\345\231\250/2.#include\346\214\207\344\273\244/config.json" @@ -7,7 +7,7 @@ ], "children": [], "export": [ - "calc.json", - "calc_test.json" + "calc.json", + "calc_test.json" ] } \ No newline at end of file diff --git a/data/tree.json b/data/tree.json index 1049dde..1e8ed2c 100644 --- a/data/tree.json +++ b/data/tree.json @@ -890,7 +890,18 @@ } }, { - "内部函数和外部函数": { + "局部变量和全局变量": { + "node_id": "569d5e11c4fc5de7844053d9a733c5e8", + "keywords": [ + "C语言概述", + "概述", + "C语言" + ], + "children": [] + } + }, + { + "头文件": { "node_id": "569d5e11c4fc5de7844053d9a733c5e8", "keywords": [ "函数", @@ -901,7 +912,7 @@ } }, { - "头文件": { + "内部函数和外部函数": { "node_id": "569d5e11c4fc5de7844053d9a733c5e8", "keywords": [ "函数", @@ -1014,16 +1025,6 @@ "children": [] } }, - { - "字符指针与函数": { - "node_id": "569d5e11c4fc5de7844053d9a733c5e8", - "keywords": [ - "指针", - "C语言" - ], - "children": [] - } - }, { "指针数组以及指向指针的指针": { "node_id": "569d5e11c4fc5de7844053d9a733c5e8", @@ -1054,7 +1055,30 @@ "指针", "C语言" ], - "children": [] + "children": [ + { + "字符串输入与输出": { + "node_id": "569d5e11c4fc5de7844053d9a733c5e8", + "keywords": [ + "C语言概述", + "概述", + "C语言" + ], + "children": [] + } + }, + { + "字符串函数": { + "node_id": "569d5e11c4fc5de7844053d9a733c5e8", + "keywords": [ + "C语言概述", + "概述", + "C语言" + ], + "children": [] + } + } + ] } } ] @@ -1124,21 +1148,42 @@ } }, { - "联合体": { + "联合体与枚举类型": { "node_id": "569d5e11c4fc5de7844053d9a733c5e8", "keywords": [ "结构体", "C语言" ], - "children": [] + "children": [ + { + "联合体": { + "node_id": "569d5e11c4fc5de7844053d9a733c5e8", + "keywords": [ + "联合体", + "共用体" + ], + "children": [] + } + }, + { + "枚举类型": { + "node_id": "569d5e11c4fc5de7844053d9a733c5e8", + "keywords": [ + "枚举", + "枚举类型" + ], + "children": [] + } + } + ] } }, { "位运算": { "node_id": "569d5e11c4fc5de7844053d9a733c5e8", "keywords": [ - "结构体", - "C语言" + "枚举", + "枚举类型" ], "children": [ { -- GitLab