Apple2GSBuildPipeline/pkg/Templates/Apple IIgs/Classic Desk Accessory in C.xctemplate/main.c

33 lines
427 B
C
Raw Normal View History

2017-05-17 02:34:15 +00:00
/*
* ___FILENAME___
* ___PACKAGENAME___
*
* Created by ___FULLUSERNAME___ on ___DATE___.
* Copyright (c) ___YEAR___ ___ORGANIZATIONNAME___. All rights reserved.
*
*/
#pragma cda "___PACKAGENAME___" start shutdown
2017-05-17 02:34:15 +00:00
#include <stdio.h>
char str[256];
void start(void)
2017-05-17 02:34:15 +00:00
{
printf("Hello, world!\n");
printf("\n\n Press ENTER to quit...");
fgets(str, sizeof(str), stdin);
2017-05-17 02:34:15 +00:00
}
void shutdown(void)
{
}