Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 88
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 215
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 216
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 217
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 218
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 219
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 220
PK ! ~ko o util.hnu [ /**********************************************************************
* © 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"
using namespace icu;
// 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);
PK ! ?MVq q Makefilenu [ # Copyright (C) 2016 and later: Unicode, Inc. and others.
# License & terms of use: http://www.unicode.org/copyright.html#License
#
# Copyright (c) 2000-2002 IBM, Inc. and others
# sample code makefile
# Usage:
# - configure, build, install ICU (make install)
# - make sure "icu-config" (in the ICU installed bin directory) is on
# the path
# - do 'make' in this directory
#### definitions
# Name of your target
TARGET=msgfmt
# All object files (C or C++)
OBJECTS=main.o util.o
#### rules
# Load in standard makefile definitions
include ../defs.mk
# the actual rules (this is a simple sample)
include ../rules.mk
PK ! # # answers/main_3.cppnu [ /**********************************************************************
* © 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/msgfmt.h"
#include "unicode/calendar.h"
#include
#include
#include "util.h"
// The message format pattern. It takes a single argument, an integer,
// and formats it as "no", "one", or a number, using a NumberFormat.
static UnicodeString PATTERN(
"Received {0,choice,0#no arguments|1#one argument|2#{0,number,integer} arguments}"
" on {1,date,long}."
);
int main(int argc, char **argv) {
UErrorCode status = U_ZERO_ERROR;
UnicodeString str;
FieldPosition pos;
// Create a message format
MessageFormat msg(PATTERN, status);
check(status, "MessageFormat::ct");
// Create the argument list
Formattable msgArgs[2];
msgArgs[0].setLong(argc-1);
msgArgs[1].setDate(Calendar::getNow());
// Format the arguments
msg.format(msgArgs, 2, str, pos, status);
check(status, "MessageFormat::format");
printf("Message: ");
uprintf(str);
printf("\n");
printf("Exiting successfully\n");
return 0;
}
PK ! h answers/main_2.cppnu [ /**********************************************************************
* © 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/msgfmt.h"
#include "unicode/calendar.h"
#include
#include
#include "util.h"
// The message format pattern. It takes a single argument, an integer,
// and formats it as "no", "one", or a number, using a NumberFormat.
static UnicodeString PATTERN(
"Received {0,choice,0#no|1#one|1& {0,number,integer}} arguments"
" on {1,date,long}."
);
int main(int argc, char **argv) {
UErrorCode status = U_ZERO_ERROR;
UnicodeString str;
FieldPosition pos;
// Create a message format
MessageFormat msg(PATTERN, status);
check(status, "MessageFormat::ct");
// Create the argument list
Formattable msgArgs[2];
msgArgs[0].setLong(argc-1);
msgArgs[1].setDate(Calendar::getNow());
// Format the arguments
msg.format(msgArgs, 2, str, pos, status);
check(status, "MessageFormat::format");
printf("Message: ");
uprintf(str);
printf("\n");
printf("Exiting successfully\n");
return 0;
}
PK ! `_ _ answers/main_1.cppnu [ /**********************************************************************
* © 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/msgfmt.h"
#include
#include
#include "util.h"
int main(int argc, char **argv) {
UErrorCode status = U_ZERO_ERROR;
UnicodeString str;
printf("Message: ");
uprintf(str);
printf("\n");
printf("Exiting successfully\n");
return 0;
}
PK ! answers/main_0.cppnu [ /**********************************************************************
* © 2016 and later: Unicode, Inc. and others.
* License & terms of use: http://www.unicode.org/copyright.html#License
***********************************************************************
***********************************************************************
* 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
#include
#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;
}
PK ! XP&