Programatically Finding Integer Size

Justin Georgeson jgeorgeson at lopht.net
Sat Oct 11 05:58:40 UTC 2003


sizeof(int)

You might want to check out the comp.lang.c++ and 
alt.com.lang.learn.c-c++ newsgroups for these sorts of questions.

Robert L Cochran wrote:
> I'm learning C++. Can someone tell me the accepted way to 
> programatically determine the size of integers on a given system using C++?
> 
> (The learning process seems to be slower than I want it to be. By the 
> time I get to be good with C++, it will probably be obsolete.)
> 
> 
> Thanks
> 
> Bob
> 

-- 
; Justin Georgeson
; http://www.lopht.net
; mailto:jgeorgeson at lopht.net
; "Free the mallocs, delete the news"





More information about the fedora-test-list mailing list