C/C++ File Parser Programme

Completed Posted Aug 25, 2004 Paid on delivery
Completed Paid on delivery

Requirements is to open & read data in a file in C or C++ and parse the data into structs so one can access the data fields from the program for each parsed message block between delimiters {{}} .The file has data message blocks that vary in number could be 3 or 10 but a block is shown below but the token types are the same for each block.

Further detailed information exists in [login to view URL] File Attachment.

/[login to view URL] example of the file .dat is as below with a need to obtain information as I would retrieve the

information between user_info=" " & for instance request_type="PRELIM" information would be a value of

of string "PRELIM" in quotes. For example Token =>user_info corresponds to user_info[256] in struct & hence I would need to copy the information between quotes from the read file given user_info is 1 token.

This would repeat itself for a few similar messages with different values in the file so the next token value for user_info may be "aldhfalhfalhf" in the next similar message block within the file.'

request_type="PRELIM" is t he 2nd token & need to extract PRELIM into struct.trans_type="SELL" is the 3rd need to get SELL and trans_cnt=1 id is the 4th need to get value 1 and so forth.

The value correspond to a struct as for example below as :-

struct req

{

char user_info[256];

int request_type;

int exec_broker_cd;

...Add values

}

[login to view URL] has 1 messsages [login to view URL] file can repeat itself with block messages like the one below

till the EOF.

/*******ATTCHED ZIP FILE FOR DETAILED INFORMATION */

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

Operating System is Windows -Visual C++ preffered but if possible Unix -Solaris,HP any would also be fine.

PHP

Project ID: #3327665

About the project

15 proposals Remote project Active Aug 26, 2004

Awarded to:

wwindcloud

See private message.

$25.5 USD in 14 days
(50 Reviews)
5.9

15 freelancers are bidding on average $115 for this job

dkkvw

See private message.

$85 USD in 14 days
(79 Reviews)
5.8
sasdataservices

See private message.

$136 USD in 14 days
(15 Reviews)
5.4
felicianbalint

See private message.

$85 USD in 14 days
(69 Reviews)
5.2
coderhere

See private message.

$85 USD in 14 days
(28 Reviews)
5.1
arbitvw

See private message.

$102 USD in 14 days
(22 Reviews)
5.0
cosminbanu

See private message.

$246.5 USD in 14 days
(47 Reviews)
4.6
codemaster2

See private message.

$127.5 USD in 14 days
(10 Reviews)
4.1
expertphpcodervw

See private message.

$17 USD in 14 days
(9 Reviews)
3.5
alexk70

See private message.

$42.5 USD in 14 days
(1 Review)
3.4
shanecmason

See private message.

$119 USD in 14 days
(4 Reviews)
3.0
alexdusl

See private message.

$85 USD in 14 days
(8 Reviews)
2.6
esafesystems

See private message.

$140.25 USD in 14 days
(6 Reviews)
1.7
buskila

See private message.

$340 USD in 14 days
(0 Reviews)
0.0
vw1302140vw

See private message.

$93.5 USD in 14 days
(0 Reviews)
0.0