[sword-cvs] icu-sword/source/samples/msgfmt/answers main_0.cpp,NONE,1.1 main_1.cpp,1.2,1.3 main_2.cpp,1.2,1.3 main_3.cpp,1.2,1.3

sword@www.crosswire.org sword@www.crosswire.org
Tue, 9 Sep 2003 19:43:03 -0700


Update of /usr/local/cvsroot/icu-sword/source/samples/msgfmt/answers
In directory www:/tmp/cvs-serv19862/source/samples/msgfmt/answers

Added Files:
	main_0.cpp main_1.cpp main_2.cpp main_3.cpp 
Log Message:
ICU 2.6 commit

--- NEW FILE: main_0.cpp ---
/********************************************************************
 * COPYRIGHT:
 * Copyright (c) 1999-2003, International Business Machines Corporation and
 * others. All Rights Reserved.
 ********************************************************************/

#include "unicode/unistr.h"
#include "unicode/msgfmt.h"
#include "unicode/uclean.h"
#include <stdio.h>
#include <stdlib.h>
#include "util.h"

int main(int argc, char **argv) {

    UErrorCode status = U_ZERO_ERROR;
    UnicodeString str;

    printf("Message: ");
    uprintf(str);
    printf("\n");

    u_cleanup();
    printf("Exiting successfully\n");
    return 0;
}