X7ROOT File Manager
Current Path:
/opt/alt/libicu/usr/share/doc/alt-libicu-devel/samples/numfmt
opt
/
alt
/
libicu
/
usr
/
share
/
doc
/
alt-libicu-devel
/
samples
/
numfmt
/
??
..
??
Makefile
(632 B)
??
capi.c
(2.68 KB)
??
main.cpp
(9.11 KB)
??
numfmt.sln
(1.17 KB)
??
numfmt.vcxproj
(9.84 KB)
??
numfmt.vcxproj.filters
(1.14 KB)
??
readme.txt
(2.36 KB)
??
util.cpp
(4.02 KB)
??
util.h
(1.1 KB)
Editing: util.h
/******************************************************************** * © 2016 and later: Unicode, Inc. and others. * License & terms of use: http://www.unicode.org/copyright.html#License ************************************************************************* ************************************************************************* * COPYRIGHT: * Copyright (c) 1999-2002, International Business Machines Corporation and * others. All Rights Reserved. *************************************************************************/ #include "unicode/unistr.h" #include "unicode/fmtable.h" using namespace icu; #ifndef UPRV_LENGTHOF #define UPRV_LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0])) #endif // Verify that a UErrorCode is successful; exit(1) if not void check(UErrorCode& status, const char* msg); // Replace nonprintable characters with unicode escapes UnicodeString escape(const UnicodeString &source); // Print the given string to stdout void uprintf(const UnicodeString &str); // Create a display string for a formattable UnicodeString formattableToString(const Formattable& f);
Upload File
Create Folder