PHP 8.3.31
Preview: main_0.cpp Size: 900 B
/opt/alt/alt-nodejs19/root/usr/share/doc/alt-nodejs19-libicu-devel/samples/msgfmt/answers/main_0.cpp

/**********************************************************************
 * © 2016 and later: Unicode, Inc. and others.
 * License & terms of use: http://www.unicode.org/copyright.html
 ***********************************************************************
 ***********************************************************************
 * 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;
}

Directory Contents

Dirs: 0 × Files: 4

Name Size Perms Modified Actions
900 B lrw-r--r-- 2022-10-19 00:53:21
Edit Download
855 B lrw-r--r-- 2022-10-19 00:53:21
Edit Download
1.51 KB lrw-r--r-- 2022-10-19 00:53:21
Edit Download
1.53 KB lrw-r--r-- 2022-10-19 00:53:21
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).