ICU-1852 cleaning up samples

X-SVN-Rev: 8459
This commit is contained in:
Steven R. Loomis 2002-04-15 16:47:44 +00:00
parent 1a45d55cbc
commit 70714a8da6

View File

@ -1,19 +1,18 @@
numfmt: a sample program which displays the calendar.
numfmt: a sample program which displays number formatting in C and C++
This sample demonstrates
Formatting a calendar
Formatting a number
Outputting text in the default codepage to the console
Files:
main.cpp Main source file in C++
capi.c C interface.
capi.c C version
util.cpp formatted output convenience implementation
util.h formatted output convenience header
numfmt.dsw Windows MSVC workspace. Double-click this to get started.
numfmt.dsp Windows MSVC project file
numfmt.dsw Windows MSVC workspace. Double-click this to get started.
numfmt.dsp Windows MSVC project file
To Build ufortune on Windows
To Build on Windows
1. Install and build ICU
2. In MSVC, open the workspace file icu\samples\numfmt\numfmt.dsw
3. Choose a Debug or Release build.
@ -24,7 +23,7 @@ To Run on Windows
2. Add ICU's bin directory to the path, e.g.
set PATH=c:\icu\bin;%PATH%
(Use the path to where ever ICU is on your system.)
3. cd into the ufortune directory, e.g.
3. cd into the numfmt directory, e.g.
cd c:\icu\source\samples\numfmt\debug
4. Run it
numfmt