How to represent multi-line strings?
Robinow, David
drobinow@dayton.adroit.com
Mon Jul 30 08:16:00 GMT 2001
> 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/
More information about the Cygwin
mailing list