I am trying to do a simple string access at 0, and for some reason I get an out of bounds error in Borland Builder 5 C++.
Has anyone found a way around this? Is there a special type of string that the Borland Compiler uses?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, It is a special String type used by Borland C++ Builder.
Variables of this type are indexed from 1.
I know that it may be a bit confusing – I also couldn’t believe it for a long time.