From 3fff8cb152dd70f46bc5d74fb41a8df8f1fdc73f Mon Sep 17 00:00:00 2001 From: xuzilin <2849252603@qq.com> Date: Sat, 15 Apr 2023 15:56:30 +0800 Subject: [PATCH] =?UTF-8?q?XZL=5F=E4=BA=A4=E6=8D=A2=E4=B8=A4=E4=B8=AA?= =?UTF-8?q?=E9=95=BF=E6=95=B4=E5=9E=8B=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 71ca419..1dc3621 100644 --- a/README.md +++ b/README.md @@ -220,7 +220,10 @@ void SwapFloat(float *x,float *y) ``` void SwapLong(long *x,long *y) { - + long temp; + temp = *x; + *x = *y; + *y = temp; } ``` -- 2.34.1