General discussion
January 20, 2010 at 08:32 PM
chan thol

I’m a new in Carbide C , Sybian S60.

by chan thol . Updated 16 years, 7 months ago

Dear all, Pls help to fill in the missing code into display the word “Hello”.

A.
_LIT(KText,”Hello”);
RBuf iRbuf;
…………………
iRbuf.CleanupClosePushL();

B.
_LIT(KText,”Hello”);
HBufC* iHbufc = …………….
RBuf iRbuf(iHbufc);
iEikonEnv->InfoWinL(_L(“RBuf Assignment”), iRbuf);
iRbuf.CleanupClosePushL();

C.
_LIT(KText,”Hello”);
TBuf<20> iBufc (……………);
iRbuf.CreateL (…………….);
iRbuf = iBufc;
iEikonEnv->InfoWinL(_L(“RBuf Assignment”), iRbuf);
iRbuf.CleanupClosePushL();

D.
_LIT(KText,”Hello”);
TBuf<20> iBufc (…………….);
RBuf iRbuf;
iRbuf.CreateL (……………..);
iRbuf = iBufc;
iEikonEnv->InfoWinL(_L(“RBuf Assignment”), iRbuf);
iRbuf.CleanupClosePushL();

E.
_LIT(KText,”Hello”);
TBuf<20> iBuf (……………..);
RBuf iRbuf (………………..);
iEikonEnv->InfoWinL(_L(“RBuf Assignment”), iRbuf);
iRbuf.CleanupClosePushL();

Best regards,

This discussion is locked

All Comments