The second file cathal2.c
will printout the report sorted by day. Now I have no idea what he
was trying to get at using the bar of stars.
At the moment it prints out a par of stars proportional to the transaction
for that day. And if the transaction was greater than the initial balance
it puts a "+" after it and if the transaction was less than the initial
balance it puts a "+" before it - (or at least it should - I dont think
it does though but it's close enough.)
Give us a call if you need any more.
BTW there is no point sending you the executable as it will only run
on linux.
If you like get Derek to compile and run it on skynet.
Compile by -
gcc -o cathal cathal.c
and run it by
./cathal
The second file is compiled the same way ie
gcc -o cathal2 cathal2.c
and ran
./cathal2
The comments are a tad slack Ill admit but you'll figure it.
Regards
D.