Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8617317
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T05:49:34+00:00 2026-06-12T05:49:34+00:00

I am working on a project which involves using several standard algorithms, like Quick

  • 0

I am working on a project which involves using several standard algorithms, like Quick Sort, Merge Sort, Binary Search. Implementing all of them before using will be very tedious and time consuming.

So, can anyone give me the list of standard algorithms already available in GCC-4.3.2., so that I can use them directly in my project.

Please comment if I am unclear in asking my doubt.

Thanks !

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T05:49:35+00:00Added an answer on June 12, 2026 at 5:49 am

    It’s unclear what the best answer to your question is. It could depend on what operating system you’re using.

    The C standard library provides a number of functions that implement various algorithms and/or provide (limited) access to operating system features. In particular, the standard qsort() function sorts an array, and the bsearch() function searches over an array. In both cases, the C standard specifies what they do; it says nothing about how they do it. It’s even legal for an implementation to provide a qsort() that does a Bubble Sort, and a bsearch() that does a linear search — though I’m sure no implementation would actually do something that silly.

    The definitive reference for the C standard library is the ISO C standard. There have been several successive versions of the standard, released in 1990, 1999, and 2011. A good draft of the 1999 standard is N1256; a good draft of the C11 standard is N1570. If you’re using gcc, your implementation probably implements almost all of C99 (you can use gcc -std=c99); C11 conformance is a work in progress.

    Most implementations provide additional library functions that aren’t required by the C standard. For example, POSIX specifies a large number of additional functions.

    The fact that you’re using gcc 4.3.2 doesn’t actually tell us what’s available in your runtime library. A C implementation consists of a compiler and a runtime library. gcc is just the compiler; depending on the OS, it can be used with a number of different runtime libraries. For Linux (or GNU/Linux if you prefer) systems, the runtime library is usually (always?) GNU libc (thanks to Jim Balter for that link). Other systems are likely use some other runtime library; you’ll have to find out what library your system uses and look up its documentation.

    Note that the C library doesn’t provide a lot of general-purpose algorithms, partly because it’s difficult to express such algorithms cleanly in pure C. For example, if you look at qsort() and bsearch(), you’ll see that they use void* pointers and deal with chunks of memory rather than typed objects. You might consider looking at C++, whose standard library provides a larger number of data types and algorithms; they’re more type-safe because they use C++’s template feature.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on a university project, which involves profile and event management using
I am working on a project which involves stereo-vision. I am using c and
I am working on a project which involves using data from web services and
Iam working on a project which involves writing a Mork File (Mork is a
I'm working on a project which involves two processes, let them be A and
I am working on a project which involves uploading flash video files to a
I am working on a javascript project which involves parsing xml data. I have
I'm currently working on a re-platforming project, part of which involves a few dozen
I'm working on a project which will involve running algorithms on large graphs. The
I'm working on a project which contains several slave nodes and one master node.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.