Article View: gnu.g++
Article #7string concatenation
From: Ken Yap
Date: Wed, 21 Jun 1989 01:50
Date: Wed, 21 Jun 1989 01:50
9 lines
625 bytes
625 bytes
While playing with g++ the other night, I noticed that string literal
concatenation a la ANSI C is supported. This is nifty but is it a
feature that will be approved in a future C++ spec?
main()
{
char *a = "hello " "world\n";
printf(a);
}
Technical Details
Message-ID:
<8906210151.AA10095@cedar.cs.rochester.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!CS.ROCHESTER.EDU!kenShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!CS.ROCHESTER.EDU!ken From: ken@CS.ROCHESTER.EDU (Ken Yap) Newsgroups: gnu.g++ Subject: string concatenation Message-ID: <8906210151.AA10095@cedar.cs.rochester.edu> Date: 21 Jun 89 01:50:59 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 9