English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

is there c code for above c function ?
where can i find ?

2006-08-21 23:38:53 · 3 answers · asked by Shamiul_islam 1 in Computers & Internet Programming & Design

3 answers

try this link

http://www.cs.wisc.edu/~david/courses/cs354/cs354/karen.notes/C.io.html

2006-08-21 23:46:07 · answer #1 · answered by Joe_Young 6 · 0 0

As the link Joe provided above mentions, the c code for printf() and getchar() etc are all on the header files that come with you c development environment. Find the header files, e.g. stdio.h in this case and you will find your code. Assuming you are on a Linux/Unix or similar system you will most likely find in under /usr/include. If not then install glibc-headers.
The assembly code is something different and will only be available once you have compiled your code. Check utilities like gdb (Gnome debugger (I'm assuming you are on a Linux/Unix or similar system again) that will allow you to step through a program as it runs and see all the code and anything else relevant that is available.

2006-08-26 12:39:47 · answer #2 · answered by Sino Wino 2 · 0 0

Use a search engine to find free downloads of GNU c compilers. They all include the source code for the library functions. Some primitive functions will be written in assembler for various processors. Most functions will be written in c for portability.

An easy place to start would be a free Linux download or a Linux CD. They almost always include a GNU c compiler.

2006-08-22 06:47:13 · answer #3 · answered by pondering_it_all 4 · 0 0

fedest.com, questions and answers