From 1a1f72ff43e66d7adc8630ab2900f20dd263daa4 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Tue, 7 Feb 2023 17:44:12 +0800 Subject: [PATCH] up --- README.md | 2 +- README_zh.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 735ad7c7200..0bbd0896ca9 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ int main(){ // Eval the sum of the list char* result = pkpy_vm_eval(vm, "sum(a)"); - std::cout << result << std::endl; // 6 + printf("%s", result); // 6 // Free the resources pkpy_delete(result); diff --git a/README_zh.md b/README_zh.md index a7b49242bff..3bc41985849 100644 --- a/README_zh.md +++ b/README_zh.md @@ -63,7 +63,7 @@ int main(){ // 对列表进行求和 char* result = pkpy_vm_eval(vm, "sum(a)"); - std::cout << result << std::endl; // 6 + printf("%s", result); // 6 // 释放资源 pkpy_delete(result);