Read laserlight's comment. The c_str() method in your usage is not the way it works or is supposed to work.
Read laserlight's comment. The c_str() method in your usage is not the way it works or is supposed to work.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook, The Wizardry Compiled