FLT_MAX stands for maximum floating point value. Since we want to initialize every node with a cost of infinity, FLT_MAX is the closest we can get to infinity.
But it's undefined here in your code ,, where i should define it ?
and could u send me your email , because i have some question for a small university project
please what's FLT_MAX ??
FLT_MAX stands for maximum floating point value. Since we want to initialize every node with a cost of infinity, FLT_MAX is the closest we can get to infinity.
But it's undefined here in your code ,, where i should define it ?
and could u send me your email , because i have some question for a small university project
you can include cfloat lib