]> git.saurik.com Git - apple/icu.git/blob - icuSources/samples/msgfmt/answers/main_0.cpp
ICU-66108.tar.gz
[apple/icu.git] / icuSources / samples / msgfmt / answers / main_0.cpp
1 /**********************************************************************
2 * © 2016 and later: Unicode, Inc. and others.
3 * License & terms of use: http://www.unicode.org/copyright.html#License
4 ***********************************************************************
5 ***********************************************************************
6 * COPYRIGHT:
7 * Copyright (c) 1999-2003, International Business Machines Corporation and
8 * others. All Rights Reserved.
9 ***********************************************************************/
10
11 #include "unicode/unistr.h"
12 #include "unicode/msgfmt.h"
13 #include "unicode/uclean.h"
14 #include <stdio.h>
15 #include <stdlib.h>
16 #include "util.h"
17
18 int main(int argc, char **argv) {
19
20 UErrorCode status = U_ZERO_ERROR;
21 UnicodeString str;
22
23 printf("Message: ");
24 uprintf(str);
25 printf("\n");
26
27 u_cleanup();
28 printf("Exiting successfully\n");
29 return 0;
30 }