A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Can one edit standard C libraries?

Best Answers

There's something like Open/Closed Principle. Meaning, Software entities should be open to extend and closed for modifications. Most of the standard libraries help you to solve a wide majority of your programming problems. read more

Yes, one can edit standard C libraries Should one edit Most of the time, no When should I edit. Almost never. Even if you have a better implementation for a function, add it as a separate library or utility function in your project. If you are compiler/libc implementer, you need to edit libraries to fix the bugs or enhance features inside the scope of specs. read more

Some compilers (for example, GCC) provide built-in versions of many of the functions in the C standard library; that is, the implementations of the functions are written into the compiled object file, and the program calls the built-in versions instead of the functions in the C library shared object file. read more

Encyclopedia Research

Related Question Categories