[Interest] Converting std::string.c_str() code to use QString methods

Thiago Macieira thiago.macieira at intel.com
Sat Aug 31 03:00:12 CEST 2013


On sexta-feira, 30 de agosto de 2013 16:00:17, Michael Jackson wrote:
> Thanks for the nice explanations. In some places we use FILE*, some
> iostream, some custom file. There are other places that we use the HDF5
> library and it is "C" based and takes "char*" for all of its "string" type
> arguments. Was hoping for a nice global "search and replace" but I'll have
> to take it line by line.

As I said in the other email, if you're going to run this code on Windows, you 
should stop using fopen and iostreams. You can continue using _wfopen, which 
is a Windows-specific function.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130830/5b9f1347/attachment.sig>


More information about the Interest mailing list