This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: How to represent multi-line strings?
- To: cygwin at cygwin dot com
- Subject: RE: How to represent multi-line strings?
- From: "Robinow, David" <drobinow at dayton dot adroit dot com>
- Date: Mon, 30 Jul 2001 11:16:38 -0400
> From: vaithal s [mailto:vaithal@hotmail.com]
> Subject: How to represent multi-line strings?
> I am a windows programmer. I am new to this list. I want to
> know, how to
> represent multi-line strings in GNU compliers? In MSVC, we represent
> multiline strings like this:
> char *str = "This is\
> a multi-line\
> string";
This is not the place to ask questions about GNU compilers, unless you have
reason to think that a compiler is behaving differently under Cygwin than it
does on the numerous other platforms under which it is suppported.
I suggest you try a simple test program and see how it works.
Perhaps a book on the C language might help.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/