Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: erencan144 on December 20, 2009, 04:46:49 pm
-
Hello. First of all, my english isn't well, I apologize for it. In C:\Program Files\CodeBlocks\MinGW\include folder, there is a file named "string.h". And it includes all names of string functions, for example; strcmp,strcpy,strlen... I want to know how i can access the original codes of these functions. For example I want to access codes of strcmp function. I couldn't find in codeblocks folder this, but codeblocks folder must include codes of these functions. Also there are files extension .a, and i think it can includes these codes, but i couldn't open these files. If you help me, i will be reall happy. Hava a good day.
-
This is not a Code::Blocks question. Those functions are part of the GCC compiler's library, that Code::Blocks uses by default. The library is compiled code, and does not include the source. If you reall need the source (I suspect you don't - what do you intend to do with it?) for the library, go to the GCC website at http://gcc.gnu.org/ or if you are using the Windows version at http://www.mingw.org/
-
Thank you for your answer. I need these codes because I have homework abou it. my homework is writing string functions manually. For example char * mystrchr(const char * from, char c){}... So i don't have bad intention :D Have a nice day.
-
Note that this is not a beginners programming forum, not even a forum dedicated to programming in general, so your post violates our forum rules.
Only questions related to C::B are allowed, so the topic gets locked.