setting a string to something

how do you set a string to something

like string name = "bob"

is that right?

Have you tried it? Ps you need a semi-colon(;) at the end of 99% of things in c++
Last edited on
Topic archived. No new replies allowed.