×
Namespaces

Variants
Actions
(Difference between revisions)

How to use RFileWriteStream

From Nokia Developer Wiki
Jump to: navigation, search
savaj (Talk | contribs)
(New page: TInt16* int; RFileWriteStream writerStream; writerStream.PushL(); // writerStream on cleanup stack User::LeaveIfError(writerStream.Create(fs, fileName, EFileWrite)); //fs is ur file sessio...)
 
savaj (Talk | contribs)
Line 1: Line 1:
 +
<code cpp>
 
TInt16* int;
 
TInt16* int;
 
RFileWriteStream writerStream;
 
RFileWriteStream writerStream;
Line 7: Line 8:
 
writerStream.Pop(); // writerStream
 
writerStream.Pop(); // writerStream
 
writerStream.Release();
 
writerStream.Release();
 +
 +
</code>

Revision as of 16:20, 7 March 2009

TInt16* int;
RFileWriteStream writerStream;
writerStream.PushL(); // writerStream on cleanup stack
User::LeaveIfError(writerStream.Create(fs, fileName, EFileWrite)); //fs is ur file session and fileName is name of ur file.
writerStream << *int;
writerStream.CommitL();
writerStream.Pop(); // writerStream
writerStream.Release();
62 page views in the last 30 days.
×