A
archilleswaterland
Hi,
I am using a compiler that does not support long int (32 bits)
so I am using 2 int's to do the work
my problem
int a[2];
int b[2];
int c[2];
I want to
c[0]=a[0]+b[0]; -----> Step one
c[1]=a[1]+b[1]+carry from Step one
how do I get the carry from step one in C programming ?
Any hints ?
thanks for your time,
archilles
I am using a compiler that does not support long int (32 bits)
so I am using 2 int's to do the work
my problem
int a[2];
int b[2];
int c[2];
I want to
c[0]=a[0]+b[0]; -----> Step one
c[1]=a[1]+b[1]+carry from Step one
how do I get the carry from step one in C programming ?
Any hints ?
thanks for your time,
archilles