Ask your own question, for FREE!
Computer Science 15 Online
OpenStudy (anonymous):

how do i create a main function that declares an array of 10 BankAccount objects ? am using c++

OpenStudy (anonymous):

no answer? everyone sleeping

OpenStudy (rsmith6559):

I believe it would be: BankAccount foo[ 10 ];

OpenStudy (amistre64):

"foo" is a computer term that represents a generic item other than that, I see nothing else that could be misinterpreted as disrespectful

OpenStudy (amistre64):

http://en.wikipedia.org/wiki/Foobar

OpenStudy (amistre64):

i took "c++" over the summer, but i usually just program things in javascript so I dont recall the syntax for this at the moment

OpenStudy (anonymous):

okay

OpenStudy (amistre64):

http://www.fredosaurus.com/notes-cpp/arrayptr/array-initialization.html this seems to be a readable resource for this tho

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!