I am a student in Computer Science, and am writing a small guide for my fellow students. It will contain a large list of the most commonly used and studied functions in C++ (e.g. Bubble Sort, linear search, file writing, etc.) and the code used to perform each function. I would really appreciate any useful snippets of functions that anyone could provide! That said, it would also leave this thread as an excellent reference page for new students like me. Does anyone have any suggestions?

Sorry, I accidentally double-posted this thread.

Another instance of this thread exists, and will be in use instead of this one. I apologize for the confusion and inconvenience.

I am a student in mathematics who is being introduced to c++ and we are required to use maths in all our programming.Can someone help me?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.