www.delorie.com/archives/browse.cgi | search |
From: | owsim AT emma DOT ruc DOT dk (Ole Winther) |
Message-Id: | <9612111400.AA05959@emma.ruc.dk> |
Subject: | what about the "\" |
To: | djgpp AT delorie DOT com |
Date: | Wed, 11 Dec 1996 15:00:40 +0100 (MET) |
Mime-Version: | 1.0 |
Well some small problems I where trying this. char* str; str = new char[5]; strcpy( str, "C:\PT" ); and printing this gives ( C:PT ), the "\" is stripped. when compiling the programs there complains about and unknown escape char. How to do it? Ole Winther
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |