rizalafande
Junior Member level 2
![Junior Member level 2](/styles/images/ranks/clevel2.gif)
codes in c++
hi,
due to i have no knowledge about c++ at all, can anyone help me to translate below code into c languages?
======================
for (inter=0; inter<6; inter++) {
start = ldtogfxp ( (long double) (inter ? -(1 << (inter - 1)) : 0) );
end = ldtogfxp ( (long double) ( - (1 << inter)) ) + 1.0;
aInterval[inter].intWidth = (end - start) / LUTsize;
delta = gfxptold (aInterval[inter].intWidth);
}
=======================
attached is the header files that related with this code.
hi,
due to i have no knowledge about c++ at all, can anyone help me to translate below code into c languages?
======================
for (inter=0; inter<6; inter++) {
start = ldtogfxp ( (long double) (inter ? -(1 << (inter - 1)) : 0) );
end = ldtogfxp ( (long double) ( - (1 << inter)) ) + 1.0;
aInterval[inter].intWidth = (end - start) / LUTsize;
delta = gfxptold (aInterval[inter].intWidth);
}
=======================
attached is the header files that related with this code.