Ignore last to last mail. Sorry. Do show expanded content in last mail.
On 16 Nov 2012 23:49, "Neeraj Gangwar" wrote:
> Yes, it would be like copying the code in the other file. You have to find
> a way to do it in Dev-C++.
> In linux it's simple. Just use *gcc file1.c
Ignore last to last mail. Sorry. Expand previous mail.
*Neeraj Gangwar*
B.Tech. IV Year
Electronics and Communication IDD
Indian Institute of Technology Roorkee
Contact No. : +91 9897073730
On Fri, Nov 16, 2012 at 11:49 PM, Neeraj Gangwar wrote:
> Yes, it would be like copying the code in
clarations to access it.
(There may also be
extern declarations in the file containing the definition.) Array sizes
must be specified with
the definition, but are optional with an extern declaration.
*Neeraj Gangwar*
B.Tech. IV Year
Electronics and Communication IDD
Indian Institute of Technology
among all the
files that make up the
source program; other files may contain extern declarations to access it.
(There may also be
extern declarations in the file containing the definition.) Array sizes
must be specified with
the definition, but are optional with an extern declaration.
*Ne
For Dev-C++, you have to include one file in another.
So either add *#include "file1.c" *in file2.c and compile file2.c or
add *#include
"file2.c" *in file1.c and compile file1.c.
Hope this helps.
*Neeraj Gangwar*
B.Tech. IV Year
Electronics and Communication IDD
Indian Ins
That's why you are getting the error. You have to compile both the files
together. Search on google. I don't use dev c++.
*Neeraj Gangwar*
B.Tech. IV Year
Electronics and Communication IDD
Indian Institute of Technology Roorkee
Contact No. : +91 9897073730
On Thu, Nov 15, 2012 a
Which compiler are you using ? Are you compiling both the files together ?
*Neeraj Gangwar*
B.Tech. IV Year
Electronics and Communication IDD
Indian Institute of Technology Roorkee
Contact No. : +91 9897073730
On Thu, Nov 15, 2012 at 9:10 PM, rahul sharma wrote:
> but how can i use extern.