what's this usuage?

Discussion in 'C++' started by asdf, Aug 26, 2006.

  1. asdf

    asdf Guest

    char str[ ]="<vector>";

    asdf, Aug 26, 2006
    1. Advertisements

  2. asdf

    gMorphus Guest

    it's rubbish.
    Doesn't mean anything.
    it tells the compiler to create a vector of characters and insert the
    string "<vector>" in it with a null termination.
    gMorphus, Aug 26, 2006
    1. Advertisements

  3. gMorphus posted:

    An array of characters, not a vector of characters.
    Frederick Gotham, Aug 26, 2006
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.