-
October 7th, 2012, 12:22 AM
#1
string stream usage
I am working on a project were I have to read line form ( PLC ) programmable logic controller generated text file with lines like this
Circuit Value Current 2.33 4.32 5.55
there could be up to 3000 lines per txt file
I am using string stream to parse the line , for the sake of good programming I which to check weather first three values are string and last three values are actually floats
raise or throw an exception if they are not , any help in this regard would be much appreciated .
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
|