templates/com.nokia.carbide.cpp.templates/templates/projecttemplates/OpenC-HelloWorld/src/Basename.cpp
author stechong
Wed, 20 Oct 2010 11:19:31 -0500
changeset 2165 2a7b5eccb0bc
parent 2025 6534cbd5fa45
permissions -rw-r--r--
Keeping PlatSim internal only.

/*
============================================================================
 Name        : $(baseName).cpp
 Author      : $(author)
 Copyright   : $(copyright)
 Description : Main application class
============================================================================
*/

// INCLUDE FILES
#include <stdio.h>

// This is a GCCE toolchain workaround needed when compiling with GCCE
// and using main() entry point
#ifdef __GCCE__
#include <staticlibinit_gcce.h>
#endif

int main(void)
{
	printf("Hello ANSI C!\n");
	printf("Press a character to exit!");
	int c = getchar();
	return 0;
}