Re: long vs. int

From: Matthew T. Churilla (churilla@mathcs.duq.edu)
Date: 09/20/95


first it is approx 21M or 2^31.  And second on just about every UNIX or unix 
like platfor that I have seen int is defined as the same size as long.  To
see the size of your variables check out the limits.h file.  This is a 
system file that contains alot of the maximums and length definiations of
types.  And lastly if that doesnt work run your debugger and send a block
of code around the bad area and the error message.  

-- 

Matthew Churilla
Duquesne University CCIT User Consultant
E-Mail Addresses
-------------------------------------------------------------------------------
churilla@noether.mathcs.duq.edu	  	Math\Computer Science Account
churilla@next.duq.edu		   	CCIT Next Account
churill5624@duq3.cc.duq.edu	   	Duquesne University E-Mail Account
-------------------------------------------------------------------------------
"The difference between the right word and the almost right word is the
difference between lightning and a lightning bug."
					-Mark Twain
-------------------------------------------------------------------------------



This archive was generated by hypermail 2b30 : 12/07/00 PST