Query reg. C Program

V

vinnu

Hi All,
I am Vineela.
Please guide me to write the C code to compare to .LST files which
have characters, special characters and numbers.
My requirement is :

abc
(1)df ?(0) ENG 0- bad leg
1- leg b
4- leg c
---
---
---

(77) qwer ? (10)ENG 0- bad leg
1- leg b


This is how the content is .
My Result file should be:

abc (1)df ?(0) ENG 0- OK - <TIME STAMP>
abc (1)df ?(0) ENG 1- NOK - <TIME STAMP> (if there is
discrepancy).

Please guide me. tomorrow i have to submit this.


Thanks in Advance,
Regards,
Vineela
 
V

Vladimir S. Oka

vinnu said:
Hi All,
I am Vineela.
Please guide me to write the C code to compare to .LST files which
have characters, special characters and numbers.
My requirement is :

abc
(1)df ?(0) ENG 0- bad leg
1- leg b
4- leg c
---
---
---

(77) qwer ? (10)ENG 0- bad leg
1- leg b


This is how the content is .
My Result file should be:

abc (1)df ?(0) ENG 0- OK - <TIME STAMP>
abc (1)df ?(0) ENG 1- NOK - <TIME STAMP> (if there is
discrepancy).

Please guide me. tomorrow i have to submit this.

Well, you should have started much earlier then...

Apart from peopel here generally not being willing to do someone's
homework, you do not state your problem at all clearly (or my
caffeine/blood ratio has fallen below critical level).
 
V

Vladimir S. Oka

novice said:
can any body explain me the "memset()" function with example.

Do not hijak threads with non-related questions. I'm now posting this
as a separate thread.
 
S

Sunil Varma

vinnu said:
Hi All,
I am Vineela.
Please guide me to write the C code to compare to .LST files which
have characters, special characters and numbers.
My requirement is :

abc
(1)df ?(0) ENG 0- bad leg
1- leg b
4- leg c
---
---
---

(77) qwer ? (10)ENG 0- bad leg
1- leg b


This is how the content is .
My Result file should be:

abc (1)df ?(0) ENG 0- OK - <TIME STAMP>
abc (1)df ?(0) ENG 1- NOK - <TIME STAMP> (if there is
discrepancy).

Please guide me. tomorrow i have to submit this.


Thanks in Advance,
Regards,
Vineela

what is an LST file?
i looked into some LST files.
But no one looked as you mentioned here.
try to compare the files character by character, and then apply your
rules.
explain elaborately so that we can understand well.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,521
Members
44,995
Latest member
PinupduzSap

Latest Threads

Top