Revision as of 08:41, 14 July 2011 by hamishwillee (Talk | contribs)

Archived:Helloworld em modo console

From Nokia Developer Wiki
Jump to: navigation, search

Exemplo do Hello World em modo Console para Symbian OS.

#include <e32base.h>
#include <e32cons.h>
TInt E32Main()
CConsoleBase* gConsole; // Criação do console
_LIT(KTituloConsole, "Aplicação console");
_LIT(KOlaMundo, "Ola Mundo!");
gConsole = Console::NewL(KTituloConsole, TSize(KConsFullScreen,KConsFullScreen)); // Instancialização do console
User::After(100000000); // pausa a aplicação por 100000000 microsegundos.
return 1;

Mesmo exemplo na linguagem C para desktop.

int main()
const char* olaMundo = "Ola Mundo!";
return 1;
51 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.