]> git.saurik.com Git - apple/icu.git/blob - icuSources/samples/msgfmt/answers/main_1.cpp
ICU-66108.tar.gz
[apple/icu.git] / icuSources / samples / msgfmt / answers / main_1.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-2002, International Business Machines Corporation and
8 * others. All Rights Reserved.
9 ***********************************************************************/
10
11 #include "unicode/unistr.h"
12 #include "unicode/msgfmt.h"
13 #include <stdio.h>
14 #include <stdlib.h>
15 #include "util.h"
16
17 int main(int argc, char **argv) {
18
19 UErrorCode status = U_ZERO_ERROR;
20 UnicodeString str;
21
22 printf("Message: ");
23 uprintf(str);
24 printf("\n");
25
26 printf("Exiting successfully\n");
27 return 0;
28 }