Skip to content

Conversation

L-Super
Copy link
Contributor

@L-Super L-Super commented Dec 26, 2022

C++使用std::swap()交换数组,同时添加C语言代码,作为原始C++代码的补充

If this PR is related to coding or code translation, please fill out the checklist.

  • I've tested the code and ensured the outputs are the same as the outputs of reference codes.
  • I've checked the codes (formatting, comments, indentation, file header, etc) carefully.
  • The code does not rely on a particular environment or IDE and can be executed on a standard system (Win, macOS, Ubuntu).

C++使用std::swap()交换数组,同时添加C语言代码,作为原始C++代码的补充
@vercel
Copy link

vercel bot commented Dec 26, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated
hello-algo ⬜️ Ignored (Inspect) Dec 27, 2022 at 0:12AM (UTC)

Copy link
Owner

@krahets krahets left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! It is required to add C source files to the codes/c/... as well.

Please test the code before creating a PR.

Copy link
Owner

@krahets krahets left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please address the comment.

Copy link
Contributor Author

@L-Super L-Super left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed the format problem.

Copy link
Owner

@krahets krahets left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank @L-Super for the code! You are the first contributor writing in C.

I've committed to a new change. Please check it.

Looking forward to your next PR.

@krahets krahets merged commit eeb0aec into krahets:master Dec 27, 2022
@L-Super
Copy link
Contributor Author

L-Super commented Dec 27, 2022

Thank @L-Super for the code! You are the first contributor writing in C.

I've committed to a new change. Please check it.

Looking forward to your next PR.

Sure, It's my pleasure.

@L-Super L-Super deleted the patch-1 branch December 27, 2022 13:49
@krahets krahets added the code Code-related label Dec 28, 2022
@Gonglja Gonglja mentioned this pull request Mar 19, 2023
51 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code Code-related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants