Thread: Bytes

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #7
    Just Lurking Dave_Sinkula's Avatar
    Join Date
    Oct 2002
    Posts
    5,005
    Quote Originally Posted by Dave_Sinkula
    100 * sizeof(int) or sizeof(int [100])
    And 100 * sizeof(char*) or sizeof(char* [100]).

    And if you mean ILP32 (Win32), then it's 400 for both examples.
    Last edited by Dave_Sinkula; 01-18-2006 at 07:32 PM. Reason: Closed formatting tag.
    7. It is easier to write an incorrect program than understand a correct one.
    40. There are two ways to write error-free programs; only the third one works.*

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Page File counter and Private Bytes Counter
    By George2 in forum Tech Board
    Replies: 0
    Last Post: 01-31-2008, 03:17 AM
  2. Replies: 16
    Last Post: 11-23-2007, 01:48 PM
  3. Shared class members over Dll Boundary
    By Elysia in forum C++ Programming
    Replies: 19
    Last Post: 11-13-2007, 01:43 PM
  4. HUGE fps jump
    By DavidP in forum Game Programming
    Replies: 23
    Last Post: 07-01-2004, 10:36 AM
  5. socket question
    By Unregistered in forum C Programming
    Replies: 3
    Last Post: 07-19-2002, 01:54 PM