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

Jonathan Greig redteam316 at gmail.com
Sat Aug 31 13:54:21 CEST 2013


I'm also interested in why fopen shouldn't be used on Windows. The
libembroidery code I work with is C89, uses fopen all over the place, and
is cross-platform. The only place it doesn't work that I have tried is on
arduino(which appears to have fdevopen equivalent but I'm unsure of whether
that is a good approach or not yet).

- Swyped from my droid.

On Aug 31, 2013 5:44 AM, "Till Oliver Knoll" <till.oliver.knoll at gmail.com>
wrote:

Am 31.08.2013 um 03:00 schrieb Thiago Macieira <thiago.macieira at intel.com>:

> ....

>
> As I said in the other email, if you're going to run this code on
Windows, you
> should stop u...
Out of curiosity (and since I am a "spoiled Qt child" and basically never
touched most of the "C Lib" API ever since, let alone the STL *quickly
cruzifies himself*): what is the problem with fopen on Windows? The thing
with "wchar vs char" (?) and how Windows encodes file names?

Cheers,
  Oliver

_______________________________________________
Interest mailing list
Interest at qt-project.org
http:/...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130831/1e52f47e/attachment.html>


More information about the Interest mailing list