Another not-so-great idea: using INT = longdouble;
I can understand wanting shorter aliases for longer POD types, but how does this improve readability and understanding? A long double is not an integer as your alias would suggest.
INT (or LINT, or LLINT or even LL) might be IMO a decent alias for long long int. If I were to create an alias for a long double I might (MIGHT) do this: using LDOUB = longdouble;. Or using LD = longdouble;.
The key is readability not just for you. Making code easy to understand for others can be crucial.
using pointers and more functions wasnt my idea they forced us to turn our code to pointers (and i agree its really stupid to use that many pointers but ty for turning my code )
and for furry guy : ty for ur tip about aliases , imma keep ur help in mind and use it in my future codes