Mail Archives: djgpp/1998/12/30/05:50:43
Michael Lehotay wrote:
> The problem is that the <limits> header file, which supposedly defines
> numeric_limits, seems to be missing. <climits> just #includes <limits.h>,
> which only #defines limit macros. I could use these macros to do the same
> thing, but my point is that I want to learn how to program in C++ instead
> of just writing C code with the same functionality.
>
> Am I correct in my assumption that I'll just have to live without
> numeric_limits? If so, should I expect to run into more surprises like
> this?
It looks like you do. I can't find the contents of <limits> lurking
anywhere. My failure to correctly recognize your question reflects my
non-use of this functionality. I can see the necessity for writing
portable code, though. I hope this is fixed, or that someone will tell
us we are both wrong.
--
Martin Ambuhl (mambuhl AT earthlink DOT net)
Note: mambuhl AT tiac DOT net will soon be inactive
- Raw text -