Sender: nate AT cartsys DOT com Message-ID: <35CA41ED.9DD43985@cartsys.com> Date: Thu, 06 Aug 1998 16:53:17 -0700 From: Nate Eldredge MIME-Version: 1.0 To: Chia CC: djgpp AT delorie DOT com Subject: Re: Vanishing & Symbol... References: <6qa407$9si AT nnrp4 DOT farm DOT idt DOT net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk Chia wrote: > > I have a class JG_MENUOPT. > > The only constructor is: > > JG_MENUOPT( char *n, void (*cb)(void) ) > { > allegro_exit(); > cout << n; > exit(0); > } > > When I send the string, "&Show Barquie", it prints out, "Show Barquie" > without the &. > > JG_MENUOPT *TheOpt = new JG_MENUOPT( "&Show Barquie", ShowBarquieProc ); > > No other strings seem to suffer from this phenomenon. When I made a simple > program to test it, it printed the & like it should. That is strange. Can you post a complete, compilable piece of code that demonstrates it? -- Nate Eldredge nate AT cartsys DOT com