C/C++ File Parser Programme

已完成 已发布的 Aug 25, 2004 货到付款
已完成 货到付款

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

项目ID: #3327665

关于项目

15个方案 远程项目 活跃的Aug 26, 2004

授予:

wwindcloud

See private message.

$25.5 USD 在14天内
(50条评论)
5.9

有15名威客正在参与此工作的竞标,均价$115/小时

dkkvw

See private message.

$85 USD 在14天内
(79条评论)
5.8
sasdataservices

See private message.

$136 USD 在14天内
(15条评论)
5.4
felicianbalint

See private message.

$85 USD 在14天内
(69条评论)
5.2
coderhere

See private message.

$85 USD 在14天内
(28条评论)
5.1
arbitvw

See private message.

$102 USD 在14天内
(22条评论)
5.0
cosminbanu

See private message.

$246.5 USD 在14天内
(47条评论)
4.6
codemaster2

See private message.

$127.5 USD 在14天内
(10条评论)
4.1
expertphpcodervw

See private message.

$17 USD 在14天内
(9条评论)
3.5
alexk70

See private message.

$42.5 USD 在14天内
(1条评论)
3.4
shanecmason

See private message.

$119 USD 在14天内
(4条评论)
3.0
alexdusl

See private message.

$85 USD 在14天内
(8条评论)
2.6
esafesystems

See private message.

$140.25 USD 在14天内
(6条评论)
1.7
buskila

See private message.

$340 USD 在14天内
(0条评论)
0.0
vw1302140vw

See private message.

$93.5 USD 在14天内
(0条评论)
0.0