Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > How widely supported is variable type 'long long int' ?

Reply
Thread Tools

How widely supported is variable type 'long long int' ?

 
 
Barry Schwarz
Guest
Posts: n/a
 
      06-25-2007
On Sun, 24 Jun 2007 10:22:43 -0400, Charles Sullivan
<> wrote:

snip

>
>Many thanks to all who responded. Your comments have been
>very useful.
>
>For those who wondered why I needed long longs:
>My app makes extensive use of unsigned long bitmaps and bitwise
>logic. Enhancements to the app occasionally require defining new
>bit positions and in some cases I'm getting close to running out.
>It would be far simpler to switch to unsigned long long than to
>reprogram to use multiple unsigned longs.


It might be even simpler to switch once to an array of unsigned char
and never have to worry about type sizes again.


Remove del for email
 
Reply With Quote
 
 
 
 
Charles Sullivan
Guest
Posts: n/a
 
      06-25-2007
On Sun, 24 Jun 2007 17:17:56 -0700, Barry Schwarz wrote:

> On Sun, 24 Jun 2007 10:22:43 -0400, Charles Sullivan
> <> wrote:
>
> snip
>
>>
>>Many thanks to all who responded. Your comments have been
>>very useful.
>>
>>For those who wondered why I needed long longs:
>>My app makes extensive use of unsigned long bitmaps and bitwise
>>logic. Enhancements to the app occasionally require defining new
>>bit positions and in some cases I'm getting close to running out.
>>It would be far simpler to switch to unsigned long long than to
>>reprogram to use multiple unsigned longs.

>
> It might be even simpler to switch once to an array of unsigned char
> and never have to worry about type sizes again.


Thanks for the suggestion. However just the thought of all the
recoding that would require makes my brain hurt

Regards,
Charles Sullivan


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Having compilation error: no match for call to ‘(const __gnu_cxx::hash<long long int>) (const long long int&)’ veryhotsausage C++ 1 07-04-2008 05:41 PM
Panorama photography / widely variable light - solution?? Destin_FL Digital Photography 9 06-20-2006 01:35 PM
How widely used is the IEEE numeric_std package? Chuck Roth VHDL 3 09-14-2005 10:25 PM
How widely used is Docbook? Bucco XML 2 08-10-2005 12:12 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57