|
From: Jason H. <jas...@bt...> - 2001-10-23 03:02:57
|
To produce a single backslash character in a string literal you actualy = have to use a double backslash, one for the escape and one to say you = want a backslash, i.e. char path[] =3D "C:\\foo\\bar.exe"; Jason. ----- Original Message -----=20 From: Daniel Glenfield=20 To: dev...@li...=20 Sent: Monday, October 22, 2001 10:00 PM Subject: Re: [Dev-C++] (no subject) oooooooooooh I know this, I know this....you have to enclose it = between something...ummmmmm...........bugger I can't think what it is. >From: "John Barnett"=20 >To: dev...@li...=20 >Subject: [Dev-C++] (no subject)=20 >Date: Mon, 22 Oct 2001 15:54:43 -0500=20 >=20 >I need help with bloodshed, in the system portion of the code is=20 >there=20 >anyway for the developer to cause Dev to recognize "/" without it=20 >being=20 >shown as an invalid escape? I wanted to create a program that allows=20 >users=20 >to rename logo.sys and so forth yet I can't see how to do that.=20 >Please help.=20 >=20 >_________________________________________________________________=20 >Get your FREE download of MSN Explorer at=20 >http://explorer.msn.com/intl.asp=20 >=20 >=20 >_______________________________________________=20 >Dev-cpp-users mailing list=20 >Dev...@li...=20 >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users=20 -------------------------------------------------------------------------= ----- Get your FREE download of MSN Explorer at http://explorer.msn.com _______________________________________________ Dev-cpp-users mailing = list Dev...@li... = https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |