Hi all
How to create a dynamic array of type bool and set all values to false?....I know this qs is simple
but I tried declaring a boolean array like
it gives me a bad malloc error.. please help!Code:bool *sample; //later.... sample = new bool [size];
thanks
regards
KR



LinkBack URL
About LinkBacks


