Quantcast
Channel: Programmers Heaven Forums RSS Feed
Viewing all articles
Browse latest Browse all 2703

2d Array or record?

$
0
0
I'm making a program to update our prices and discount.
Reading a file, layout : G30;48
which means discount code is G30 which in turn equal 48%
I can read it but need a simple example on how to implement it.

I read a line in the pricefile, this line contains different info, like number, text and discount code, so I have to determine the discount everytime I read a line, but would like to make the work as little as possible, since I have to read around 108.000 lines and work on them, any suggestions?

regards
John

Viewing all articles
Browse latest Browse all 2703

Trending Articles