1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to make a vector structure globaly ?

Discussion in 'C' started by rajeevkag, Mar 10, 2010.

  1. rajeevkag

    rajeevkag New Member

    Joined:
    Mar 10, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    We are developing a C++ project with 10 cpp files and 3 header files.We are declared array structure of 3 integer varibles globaly in header file and using in some files and where arrays are updated ,re-adjusted in some cpp files and use in another files.Project is running fine but we wish to use vector structure because dynamic allocation and easy resize.

    How to replace array structure to vector structure ?
    How to make a vector structure globaly ?

    please help us .....

    Thanks
    Rajeev
     

Share This Page