Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Explain me this syntax from C programming

Status
Not open for further replies.

tok47

Advanced Member level 4
Joined
Jan 16, 2004
Messages
119
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Location
Kuala Lumpur, MALAYSIA
Activity points
1,009
getname c programming

Dear ALL,

Can some1 explain for me, the below syntex from C PROGRAMMING?

THANKS alots

char vbuff [600][32]
int vnum_mods =0

while (fgets(vbuff,200,vmodin)) {
if (isvmod()) {
getname(0,0);
vnum_mods++;
}
}
fclose(vmodin);
 

Re: c programming

You need to post the implementation of
getname(int,int)
 

Re: c programming

whatz the nature pf isvmod() and getname() functions?
are there standard functions like that?
 

Re: c programming

Please gimme the list of header files used.
 

Re: c programming

Dear Fren,

I got the answer already. I think I wont post the details for isvmod() and getname(int,int) here coz is a quite long program. ANyway, thanks for reply.

Another question : Can I use 'strcmp' to compare the details of 2 files?
 

Re: c programming

hi,
you cannot do it directly.ypu have to buffer the contents of the files and and then you can use strcmp.Needless to say if a file is too large this approach would not be very fruitful.
pimr
 

Re: c programming

getname function detail is required ...

Added after 52 seconds:

for helping you getname function detail is required ...
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top