Explore BrainMass
Share

Explore BrainMass

    C++: Arrays, Pointers and more

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    1. Explain how an array works.

    2.Define the purpose of a pointer. Provide an example of how it can be used

    3. What are the drawbacks to using pointers?

    4. What risks does Open Source Development Platforms present that may not be present with Proprietary Development Platforms? Is C++ an Open Source or Proprietary Programming Language?

    5. How does ASP.NET extend the capability of using C++ as a programming language to create dynamic websites? Is C++ the preferred programming language for developing ASP.NET pages?

    © BrainMass Inc. brainmass.com April 3, 2020, 6:31 pm ad1c9bdddf
    https://brainmass.com/computer-science/cpp/brief-explanation-214238

    Solution Preview

    Brief explanation

    1. Explain how an array works.
    An array is a block of related data, where each element may use subscripts to perform or display functions. Arrays work with computer programs and a collection of same-type values, used to store data that may be accessed in random order.
    For detailed research on arrays, visit:
    http://computer.howstuffworks.com/c10.htm
    http://akira.ruc.dk/~mir/csa2007s/lecture-8.html
    http://www.lst.inf.ethz.ch/teaching/lectures/hs08/51/recitation/CASP_Week5_Tuesday.pdf

    Link: http://msdn.microsoft.com/en-us/library/aa288453(VS.71).aspx

    2.Define the purpose of a pointer. Provide an example of how it can be used

    Similar to an array, the purpose of a pointer is to "point?or direct commands or data somewhere (e.g. point to a storage place or address); it holds the address to a variable.
    An example ...

    Solution Summary

    This solution explores a variety of problems with regards to C++ programming, within the context of computer science.

    $2.19

    ADVERTISEMENT