Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID

Categories

We have migrated to a new platform! Please note that you will need to reset your password to log in (your credentials are still in-tact though). Please contact lee@programmersheaven.com if you have questions.
Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

vectors in pascal.......

muaz_farooqmuaz_farooq Posts: 4Member

hi everybody, i want a little info about vectors :

1. How to create a vector in pascal?
2. How to access it's elements?
3. Is vector a dynamic structure in pascal like it is in Java, i mean is it's length automatically increase like it is increased in java?
4. Does vectors also has types like arrays do? like array of char, array of integer, array of byte etc.

Comments

  • zibadianzibadian Posts: 6,349Member
    :
    : hi everybody, i want a little info about vectors :
    :
    : 1. How to create a vector in pascal?
    : 2. How to access it's elements?
    : 3. Is vector a dynamic structure in pascal like it is in Java, i mean is it's length automatically increase like it is increased in java?
    : 4. Does vectors also has types like arrays do? like array of char, array of integer, array of byte etc.
    :
    The concept of a vector type is unknown in Pascal. You can however simulate vectors by creating array types for them. All the mathematical routines must be coded manually, although there are various good libraries on the internet. As arrays, vectors are not dynamic, element referencing is done using the normal array coding.
Sign In or Register to comment.