-
-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added code snippets of C++ on bit manipulation, math & number, searching, sorting #217
Conversation
A lot of the bit manipulation should be moved to C. They are not exactly specific for C++, except for the vector one. |
Ok I will remove the searching and sorting part from the snippets. |
Hey, I understand that bit manipulation isn't exclusive to C and can also be done in C++. However, since the snippets don't use any C++-specific features (at least no big one) and are more aligned with C-style programming, it makes sense to categorize them under C. |
Got it, thanks for pointing out. I’ll make the changes to categorize the snippets under C accordingly. |
I have moved all the snippets of bit manipulation to C except the find the non repeating element in vector as vector is supported only in C++. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some little misplacements of files, but overall great work
All the mentioned snippets moved to C |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work thanks !
Description
Added code snippets for C++:
Math and Number Category snippets:
Added new Bit Manipulation Category
Added new Searching Category
Added new Sorting Category
Type of Change
Checklist
Related Issues
Closes #
Additional Context
Screenshots (Optional)
Click to view screenshots