Imported Upstream version 58.1
[platform/upstream/icu.git] / source / samples / msgfmt / answers / main_0.cpp
1 /**********************************************************************
2  * Copyright (C) 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 }