when you install the visual c++, check the option for the source code for C run time libraries. (RTL) This code will be in assembbler but includes the code for functions like strcmp, etc. You can then trace into it.
Main Topics
Browse All TopicsAs a computer science student who is currently taking data structures with C, I am becomming more and more interested in seeing the function definitions of the different C liabraries that I have been using all along. I use Visual C++ as a development enviroment. I have right clicked on the function and chose an option like "see function definition", but it just takes me to the liabrary header file at the point of its prototype. How do I find these definitions. I have used find commands on Windows but got knowhere. I have also roamed through various directories, but I can not find files like string.cpp or stdlib.cpp, or anything thing that relates to it. What to do??
Thanks
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: makerpPosted on 2000-06-06 at 01:10:44ID: 2896120
you wont be able to as the actuall definition of things like strcmp will be in compiled librarys that you compiler will link you to. the headers will be there but not the coresponing cpp or c files.
the mfc is shipped with the source code but that it with visual c++.
if you have a look around the net you might come across some source code for the standard c run time libraray