Re: CFile
- From: German <German@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 8 Jul 2005 08:53:04 -0700
Ok Guys !!
I accept yours comments and It's working very good.
Thank You very much again !!
German Medina
+519-662-8500
++++++++++++++++++++++++++++++++++++++++++++++++++++
"Scot T Brennecke" wrote:
> Also, don't be confused into thinking that Format of the display variable will change your Ca or Cb
> variables.
>
> "German" <German@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:ADFDC433-8267-4CDD-8C47-9CFB246B4DC3@xxxxxxxxxxxxxxxx
> > Hi Team:
> >
> > I have the next code :
> >
> > CFile fsal1;
> > CString Ca="Line 1",Cb="Line 2",display="";
> > fsal1.Open ("C:/100.Log",CFile::modeCreate | CFile::modeWrite);
> >
> > display.Format("%s\r\n",Ca);
> > fsal1.Write (Ca,Ca.GetLength());
> >
> > display.Format("%s\r\n",Cb);
> > fsal1.Write (Cb,Cb.GetLength());
> >
> > fsal1.Close();
> >
> > ANd the results is : Linea 1Linea 2 (together)
> > If I want to write "Line 2" under "Line 1" What do I need to adjust ?
> >
> > ANy other suggestion are welcome !!
> >
> > German Medina
> > +519-662-8500
>
>
>
.
- Prev by Date: Re: Compiled ocx file reports different sizes
- Next by Date: Re: Need expert advice (CString)
- Previous by thread: Re: CFile
- Next by thread: what does "is not part of the file system" mean?
- Index(es):
Relevant Pages
|