I have a small problem of subtracting a float value from a long.
When I run the program because cust bal is a float and credit limit is a long when I come to subtract one from the other it isn't working because cust bal is not bigger than credit limit
ie.
first record:-
-2407.629 -...
I have a file sort program thats causing me some confusion?
Every time I run it I'm getting different results?
I am opening the file allocating memory then reading the data to memory like so.
void memory_write(union Recs *mem)
{
char temp[104];
rewind(d_ptr)...
Just a quickie,
I have some various length strings, which are all '\n' terminated.
However I need to display them broken up into different parts.
eg if one is 20 chars and I need to break up into 4 chars then 12 chars then 4 chars.
cvhh cjhbsdhcjugh bhsy
Thankyou.
Sorry its not more...
I have a binary file that contains vaious length records that are held in structures.
Here is a sample of the file :-
I10014 010006 0002 I10006 010006 0001 I10006 049301 0009 I10022 012807 0008 I10049 012106 0099 I10065 054402 0100 C10081 COVER SYSTEMS LTD ALBOY RD;KINVER;SOUTH STAFFS; ...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.