what's this usuage?

G

gMorphus

asdf said:
char str[ ]="<vector>";

Thanks.

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.
 
F

Frederick Gotham

gMorphus posted:
char str[ ]="<vector>";

Thanks.

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.


An array of characters, not a vector of characters.
 

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. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top