Re: Newbie about using extern in C.

2003-10-15 Thread Thomas Krennwallner
Hi! On Thu Oct 16, 2003 at 01:51:18PM +0800, James Ng Yuen Sum wrote: > I am a newbie in using linux and C language. I want to ask how to use > "extern". In C language, we can have two .c file, in one file the > variable(s) can be open for other .c file use if extern is the storage > class of the

Re: Newbie about using extern in C.

2003-10-15 Thread James Mills
On Thu, Oct 16, 2003 at 01:51:18PM +0800, James Ng Yuen Sum wrote: > Hello, > > I am a newbie in using linux and C language. I want to ask how to use > "extern". In C language, we can have two .c file, in one file the > variable(s) can be open for other .c file use if extern is the storage > class

Newbie about using extern in C.

2003-10-15 Thread James Ng Yuen Sum
Hello, I am a newbie in using linux and C language. I want to ask how to use "extern". In C language, we can have two .c file, in one file the variable(s) can be open for other .c file use if extern is the storage class of the variable. But my teacher has told me that in gcc, I have to use Makefi