How many signs can AnsiString handle

This is a discussion on How many signs can AnsiString handle within the C++ Programming forums, part of the General Programming Boards category; AnsiString (same thing as String) is a Borland object and I would like to know how many characters it can ...

  1. #1
    Registered User
    Join Date
    Oct 2002
    Posts
    160

    How many signs can AnsiString handle

    AnsiString (same thing as String) is a Borland object and I would like to know how many characters it can handle. My own gues is a bit more then 65000 since thats how much int can store.
    Well english isn't my first language, (it's instead a useless language called danish which only 5 milion people speak!!) so if you think my grammar SUCKS (it does by the way) than you're more then welcome to correct me.
    Hell I might even learn something

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,786
    Have you tried Borland.com?

  3. #3
    Registered User
    Join Date
    Oct 2002
    Posts
    160
    I gues I might cooooooooooould...
    Well english isn't my first language, (it's instead a useless language called danish which only 5 milion people speak!!) so if you think my grammar SUCKS (it does by the way) than you're more then welcome to correct me.
    Hell I might even learn something

  4. #4
    Registered User
    Join Date
    Apr 2002
    Posts
    362
    Zahl,

    It's dependent on the size of 'int' on your particular system. On a 32-bit Windows system, that amounts to approximately 4.3 billion bytes.

    My source suggests this may be restricted due to memory contraints, however. Go figure.

    Fordy, if I just stepped on myself, my apologies.

    -Skipper
    "When the only tool you own is a hammer, every problem begins to resemble a nail." Abraham Maslow

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help with setting text into LTEXT using Window Handle
    By jasperleeabc in forum Windows Programming
    Replies: 6
    Last Post: 05-08-2009, 08:18 PM
  2. Getting other processes class names
    By Hawkin in forum Windows Programming
    Replies: 3
    Last Post: 03-20-2008, 04:02 PM
  3. Direct3D problem
    By cboard_member in forum Game Programming
    Replies: 10
    Last Post: 04-09-2006, 03:36 AM
  4. Button handler
    By Nephiroth in forum Windows Programming
    Replies: 8
    Last Post: 03-12-2006, 05:23 AM
  5. Manipulating the Windows Clipboard
    By Johno in forum Windows Programming
    Replies: 2
    Last Post: 10-01-2002, 09:37 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21