×

Loading...

Topic

This topic has been archived. It cannot be replied.
  • 工作学习 / IT技术讨论 / Hi,Who could help answer these c++ questions in english?
    1> What is a stream?

    2> What is an iterator?

    3> What is the difference between a vector and an array?

    4> What are the advantages and disadvantages of using a Binary Search on a tree?

    I felt a little difficult to answer these questions exactly in english. So thank your kind help in advance!
    • One suggestion: download Thinking in C++ from www.bruceeckel.com. You summarize the answers and publish them here. It will help you.
    • U can answer it in Chinese then translate them in english. If u cannot do translation, I will help you.
      • Thanks both of you! I try to answer it.Pls check for me.
        What is a stream?
        A: A stream is a way to deal with data input and output without considering the data type and where tha data output.

        What is the difference between a vector and an array?
        A: vector is not fixed length at runtime, but array is.

        What are the advantages and disadvantages of using a Binary Search on a tree?
        A: it will be effcient if the tree is stable, do less insert/delete after constructed, but do more search.

        Please correct or improve my answer. Thanks for your attention!

        By the way,jabber,I have the book (think in c++) and have finished the book. I am a developer for years and want to complete my skill set like you.