Source file: /~heha/basteln/Haus/Telefon/sprech.zip/src/s3.cpp

#ifdef WIN32
#include <shlwapi.h>
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>	// _O_BINARY
#include <io.h>		// _setmode()
#endif
#include "render.h"

void __cdecl mainCRTStartup() {
 _setmode(_fileno(stdin),_O_BINARY);
 _setmode(_fileno(stdout),_O_BINARY);
 phonem_t ph[255];
 while (!feof(stdin) && fread(ph,2,255,stdin)) {
   Render(ph);
// 2 Beispiele:
// Render(L"\x0648\x0149\x044A\x0B08\x071C\x041A\x0935\x0814\x6224\x5B05\x0A12\x071B\x0805\x581C\x4F33\x4D14\x0202");
// Render(L"\x0C31\x0915\x071C\x0220\x0445\x0246\x0247\x0220\x0619\x0C31\x0715\x082C\x0517\x0C31\x0715");
 }
 exit(0);
}
Detected encoding: UTF-80