-
June 5th, 2012, 11:56 PM
#1
Parse file in vc++
Please how to parse file in vc++,visual studio 2010 ide.
parse text file or any simple file, please kindly send me the sample code example. Here I tried with one example but unable to parse...
please kindly help me asap...
Thanks & Regards,
M.G.Rajendra Prasad
-
June 6th, 2012, 01:22 AM
#2
Re: Parse file in vc++
Please define "parse text file or any simple file"
Best regards,
Igor
-
June 6th, 2012, 03:05 AM
#3
Re: Parse file in vc++
We need more details.
Basic file I/O can be done using std::ifstream.
-
June 6th, 2012, 11:23 PM
#4
Re: Parse file in vc++
Originally Posted by Igor Vartanov
Please define "parse text file or any simple file"
Please kindly send me how to parse file with example code.
I am new to vc++.
I need to parse flash driver,Parse application.
how the thread concepts implement in vc++.
-
June 6th, 2012, 11:28 PM
#5
Re: Parse file in vc++
Originally Posted by Marc G
We need more details.
Basic file I/O can be done using std::ifstream.
Please kindly send me how to parse file with example code.
I am new to vc++.
I need to parse flash driver,Parse application.
how the thread concepts implement in vc++.
I am here working on ECU Softwares.
-
June 7th, 2012, 12:44 AM
#6
Re: Parse file in vc++
I need to parse flash driver,Parse application.
"Parse" eventually could be anything you can imagine. Explain what this term means for you. Besides, this new formula "parse flash driver" sounds even worse. Total gibberish.
Please note, if you cannot clearly explain your problem, most probably you won't be helped. So please do your best.
Best regards,
Igor
-
June 7th, 2012, 03:06 AM
#7
Re: Parse file in vc++
Originally Posted by Igor Vartanov
"Parse" eventually could be anything you can imagine. Explain what this term means for you. Besides, this new formula "parse flash driver" sounds even worse. Total gibberish.
Please note, if you cannot clearly explain your problem, most probably you won't be helped. So please do your best.
Please I need to parse this below txt file in vc++.
Please kindly do the needful asap.
>RequestDownload Service...
>Memory Start Address:F00000 MemorySize: 8152 (001FD8)
> W 7D3 (8) 10 08 34 F0 00 00 00 00 0.39012 0
> R 7DB (8) 30 00 00 00 00 00 00 00 317.51842 2
> W 7D3 (8) 21 1F D8 00 00 00 00 00 0.39195 0
> R 7DB (8) 02 74 FF AA AA AA AA 00 317.52014 2
>RequestDownload Service Complete!
>----------------------------
> TransferData Service...
>----------------------------
>[ Process Record - 1 ]
> W 7D3 (8) 10 46 36 44 F0 00 00 00 0.44446 0
> R 7DB (8) 30 00 00 00 00 00 00 00 317.57294 2
> W 7D3 (8) 21 00 CA FE 00 00 00 00 0.44654 0
> W 7D3 (8) 22 40 00 00 CC 00 00 00 0.44883 0
> W 7D3 (8) 23 00 40 00 00 00 40 00 0.44885 0
> W 7D3 (8) 24 00 00 00 00 00 10 40 0.44887 0
> W 7D3 (8) 25 00 00 10 40 00 00 10 0.44888 0
> W 7D3 (8) 26 00 00 00 7C 40 00 00 0.44890 0
> W 7D3 (8) 27 90 40 00 00 90 00 00 0.44891 0
> W 7D3 (8) 28 01 F0 40 00 02 80 40 0.44893 0
> W 7D3 (8) 29 00 02 80 00 00 13 30 0.44894 0
> W 7D3 (8) 2A F3 00 00 00 00 00 00 0.44900 0
> R 7DB (8) 01 76 AA AA AA AA AA 00 317.57955 2
>[ Process Record - 2 ]
like this Process Record - 129.
-
June 7th, 2012, 03:13 AM
#8
Re: Parse file in vc++
Originally Posted by Rajendramaraveni
Please I need to parse this below txt file in vc++.
"to parse" as what?
What data do you need to obtain from this file and in what form?
Victor Nijegorodov
-
June 7th, 2012, 03:28 AM
#9
Re: Parse file in vc++
Originally Posted by VictorN
"to parse" as what?
What data do you need to obtain from this file and in what form?
Please it is a text file and data related to req &reposnse of ECU
-
June 7th, 2012, 03:36 AM
#10
Re: Parse file in vc++
Originally Posted by Rajendramaraveni
Please it is a text file and data related to req &reposnse of ECU
Please, don't repeat again and again the same words!
We already understood that you want to parse some text file.
What we still don't know is:
Originally Posted by VictorN
"to parse" as what?
What data do you need to obtain from this file and in what form?
And BTW, what is "req &reposnse of ECU"?
Victor Nijegorodov
-
June 7th, 2012, 07:22 AM
#11
Re: Parse file in vc++
Look at CStdioFile and CString::Tokenize().
Beyond that, without a lot more details from you, I doubt anybody can help much. What part are you stuck on?
-
June 8th, 2012, 12:21 AM
#12
Re: Parse file in vc++
Originally Posted by GCDEF
Look at CStdioFile and CString::Tokenize().
Beyond that, without a lot more details from you, I doubt anybody can help much. What part are you stuck on?
Automotive domain file related to ECU.Bootloader file and Application file, flushing this files from hardware which is in .sx file. Please I need parse mentioed above file. Please kindly help me.
-
June 8th, 2012, 05:03 AM
#13
Re: Parse file in vc++
Implement the Parser for bin files. I mentioned the file above.
Please anyone kindly help me asap with Implement code also
-
June 8th, 2012, 05:46 AM
#14
Re: Parse file in vc++
Originally Posted by Rajendramaraveni
Implement the Parser for bin files.
And what could it mean?
Originally Posted by Rajendramaraveni
Please anyone kindly help me asap with Implement code also
It would be no problem to help you if you explained what you need and what you mean by "parser".
Last edited by VictorN; June 8th, 2012 at 06:01 AM.
Victor Nijegorodov
-
June 8th, 2012, 05:53 AM
#15
Re: Parse file in vc++
Originally Posted by Rajendramaraveni
Automotive domain file related to ECU.Bootloader file and Application file, flushing this files from hardware which is in .sx file. Please I need parse mentioed above file. Please kindly help me.
I've been doing this 25 years, and that tells me nothing about what you're trying to do. Why are you being so stubborn about explaining what you need help with?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|