G
gouqizi.lvcha
Hi, All:
I defined another printf , same as printf function in libC.
my question is why compiler choose my version of printf , not choose
the printf in libC?
Here is a piece of code:
#include <stdio.h>
int printf(char *str, ...)
{
return 1;
}
int main()
{
printf("hello world\n")
}
Rick
I defined another printf , same as printf function in libC.
my question is why compiler choose my version of printf , not choose
the printf in libC?
Here is a piece of code:
#include <stdio.h>
int printf(char *str, ...)
{
return 1;
}
int main()
{
printf("hello world\n")
}
Rick