A<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>http://www.cppe.ru/index.php?action=history&amp;feed=atom&amp;title=C%2B%2B_Tutorial%2FDevelopment%2Flocale</id>
		<title>C++ Tutorial/Development/locale - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://www.cppe.ru/index.php?action=history&amp;feed=atom&amp;title=C%2B%2B_Tutorial%2FDevelopment%2Flocale"/>
		<link rel="alternate" type="text/html" href="http://www.cppe.ru/index.php?title=C%2B%2B_Tutorial/Development/locale&amp;action=history"/>
		<updated>2026-04-18T03:30:48Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://www.cppe.ru/index.php?title=C%2B%2B_Tutorial/Development/locale&amp;diff=2147&amp;oldid=prev</id>
		<title> в 14:21, 25 мая 2010</title>
		<link rel="alternate" type="text/html" href="http://www.cppe.ru/index.php?title=C%2B%2B_Tutorial/Development/locale&amp;diff=2147&amp;oldid=prev"/>
				<updated>2010-05-25T14:21:17Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Версия 14:21, 25 мая 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
			</entry>

	<entry>
		<id>http://www.cppe.ru/index.php?title=C%2B%2B_Tutorial/Development/locale&amp;diff=2148&amp;oldid=prev</id>
		<title>Admin: 1 версия:&amp;#32;Импорт контента...</title>
		<link rel="alternate" type="text/html" href="http://www.cppe.ru/index.php?title=C%2B%2B_Tutorial/Development/locale&amp;diff=2148&amp;oldid=prev"/>
				<updated>2010-05-25T10:28:59Z</updated>
		
		<summary type="html">&lt;p&gt;1 версия: Импорт контента...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Create a copy of the user&amp;quot;s locale==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;#include &amp;lt;iostream&amp;gt;&lt;br /&gt;
#include &amp;lt;locale&amp;gt;&lt;br /&gt;
#include &amp;lt;string&amp;gt;&lt;br /&gt;
using namespace std;&lt;br /&gt;
int main( ) {&lt;br /&gt;
   locale loc(&amp;quot;&amp;quot;); // Create a copy of the user&amp;quot;s locale&lt;br /&gt;
   cout &amp;lt;&amp;lt; &amp;quot;Locale name = &amp;quot; &amp;lt;&amp;lt; loc.name( ) &amp;lt;&amp;lt; endl;&lt;br /&gt;
   cout.imbue(loc); // Tell cout to use the formatting of&lt;br /&gt;
                    // the user&amp;quot;s locale&lt;br /&gt;
   cout &amp;lt;&amp;lt; &amp;quot;pi in locale &amp;quot; &amp;lt;&amp;lt; cout.getloc( ).name( ) &amp;lt;&amp;lt; &amp;quot; is &amp;quot;&lt;br /&gt;
        &amp;lt;&amp;lt; 3.14 &amp;lt;&amp;lt; endl;&lt;br /&gt;
}&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;pre class=codeResult&amp;gt;Locale name = C&lt;br /&gt;
pi in locale C is 3.14&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Format numeric values relative to a locale.==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;#include &amp;lt;iostream&amp;gt;&lt;br /&gt;
#include &amp;lt;locale&amp;gt;&lt;br /&gt;
#include &amp;lt;iomanip&amp;gt;&lt;br /&gt;
using namespace std;&lt;br /&gt;
int main()&lt;br /&gt;
{&lt;br /&gt;
  // Use a fixed format with 2 decimal places.&lt;br /&gt;
  cout &amp;lt;&amp;lt; fixed &amp;lt;&amp;lt; setprecision(2);&lt;br /&gt;
  cout &amp;lt;&amp;lt; &amp;quot;Default format: &amp;quot; &amp;lt;&amp;lt; 12345678.12 &amp;lt;&amp;lt; &amp;quot;\n\n&amp;quot;;&lt;br /&gt;
  // Set the locale to English.&lt;br /&gt;
  locale eloc(&amp;quot;English&amp;quot;);&lt;br /&gt;
  cout.imbue(eloc);&lt;br /&gt;
  cout &amp;lt;&amp;lt; &amp;quot;English format: &amp;quot; &amp;lt;&amp;lt; 12345678.12 &amp;lt;&amp;lt; &amp;quot;\n\n&amp;quot;;&lt;br /&gt;
  locale gloc(&amp;quot;German&amp;quot;);&lt;br /&gt;
  cout.imbue(gloc);&lt;br /&gt;
  cout &amp;lt;&amp;lt; &amp;quot;German format: &amp;quot; &amp;lt;&amp;lt; 12345678.12 &amp;lt;&amp;lt; &amp;quot;\n\n&amp;quot;;&lt;br /&gt;
  return 0;&lt;br /&gt;
}&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Get a moneypunct facet for cout for a locale==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;#include &amp;lt;iostream&amp;gt;&lt;br /&gt;
#include &amp;lt;locale&amp;gt;&lt;br /&gt;
using namespace std;&lt;br /&gt;
int main()&lt;br /&gt;
{&lt;br /&gt;
  // Create a locale for US English.&lt;br /&gt;
  locale usloc(&amp;quot;English_US&amp;quot;);&lt;br /&gt;
  // Set the locale of cout to US English.&lt;br /&gt;
  cout.imbue(usloc);&lt;br /&gt;
  // Get a moneypunct facet for cout.&lt;br /&gt;
  const moneypunct&amp;lt;char&amp;gt; &amp;amp;us_monpunct = use_facet&amp;lt;moneypunct&amp;lt;char&amp;gt; &amp;gt;(cout.getloc());&lt;br /&gt;
  cout &amp;lt;&amp;lt; &amp;quot;  Currency symbol: &amp;quot; &amp;lt;&amp;lt; us_monpunct.curr_symbol() &amp;lt;&amp;lt; endl;&lt;br /&gt;
  cout &amp;lt;&amp;lt; &amp;quot; Decimal point: &amp;quot; &amp;lt;&amp;lt; us_monpunct.decimal_point() &amp;lt;&amp;lt; endl;&lt;br /&gt;
  cout &amp;lt;&amp;lt; &amp;quot; Thousands separator: &amp;quot; &amp;lt;&amp;lt; us_monpunct.thousands_sep() &amp;lt;&amp;lt; endl;&lt;br /&gt;
  cout &amp;lt;&amp;lt; &amp;quot; Fraction digits: &amp;quot; &amp;lt;&amp;lt; us_monpunct.frac_digits() &amp;lt;&amp;lt; endl;&lt;br /&gt;
  cout &amp;lt;&amp;lt; &amp;quot; Number of grouping rules: &amp;quot; &amp;lt;&amp;lt; us_monpunct.grouping().size() &amp;lt;&amp;lt; endl;&lt;br /&gt;
  for(unsigned i=0; i &amp;lt; us_monpunct.grouping().size(); ++i)&lt;br /&gt;
    cout &amp;lt;&amp;lt; &amp;quot; Size of group &amp;quot; &amp;lt;&amp;lt; i &amp;lt;&amp;lt; &amp;quot;: &amp;quot;&lt;br /&gt;
         &amp;lt;&amp;lt; (int)us_monpunct.grouping()[0] &amp;lt;&amp;lt; endl;&lt;br /&gt;
  cout &amp;lt;&amp;lt; endl;&lt;br /&gt;
&lt;br /&gt;
  return 0;&lt;br /&gt;
}&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Get numeric input facet of the locale loc and read value with numeric input facet==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;/* The following code example is taken from the book&lt;br /&gt;
 * &amp;quot;The C++ Standard Library - A Tutorial and Reference&amp;quot;&lt;br /&gt;
 * by Nicolai M. Josuttis, Addison-Wesley, 1999&lt;br /&gt;
 *&lt;br /&gt;
 * (C) Copyright Nicolai M. Josuttis 1999.&lt;br /&gt;
 * Permission to copy, use, modify, sell and distribute this software&lt;br /&gt;
 * is granted provided this copyright notice appears in all copies.&lt;br /&gt;
 * This software is provided &amp;quot;as is&amp;quot; without express or implied&lt;br /&gt;
 * warranty, and with no claim as to its suitability for any purpose.&lt;br /&gt;
 */&lt;br /&gt;
#include &amp;lt;locale&amp;gt;&lt;br /&gt;
#include &amp;lt;iostream&amp;gt;&lt;br /&gt;
#include &amp;lt;cstdlib&amp;gt;&lt;br /&gt;
#include &amp;lt;iterator&amp;gt;&lt;br /&gt;
int main()&lt;br /&gt;
{&lt;br /&gt;
    // create copy of current global locale&lt;br /&gt;
    std::locale loc;&lt;br /&gt;
    // iterator to read from standard input&lt;br /&gt;
    typedef std::istreambuf_iterator&amp;lt;char&amp;gt; InIt;&lt;br /&gt;
    InIt beg = InIt(std::cin);&lt;br /&gt;
    InIt end = InIt();&lt;br /&gt;
    // stream which defines input format&lt;br /&gt;
    std::ios_base&amp;amp; fmt = std::cin;&lt;br /&gt;
    // declare output arguments&lt;br /&gt;
    std::ios_base::iostate err;&lt;br /&gt;
    float value;&lt;br /&gt;
    // get numeric input facet of the locale loc&lt;br /&gt;
    std::num_get&amp;lt;char, InIt&amp;gt; const&amp;amp; ng&lt;br /&gt;
      = std::use_facet&amp;lt;std::num_get&amp;lt;char, InIt&amp;gt; &amp;gt;(loc);&lt;br /&gt;
    // read value with numeric input facet&lt;br /&gt;
    ng.get(beg, end, fmt, err, value);&lt;br /&gt;
    // print value or error message&lt;br /&gt;
    if (err == std::ios_base::goodbit) {&lt;br /&gt;
        std::cout &amp;lt;&amp;lt; &amp;quot;value: &amp;quot; &amp;lt;&amp;lt; value &amp;lt;&amp;lt; &amp;quot;\n&amp;quot;;&lt;br /&gt;
    }&lt;br /&gt;
    else if (err == std::ios_base::eofbit) {&lt;br /&gt;
        std::cout &amp;lt;&amp;lt; &amp;quot;value: &amp;quot; &amp;lt;&amp;lt; value &amp;lt;&amp;lt; &amp;quot; (EOF encountered)\n&amp;quot;;&lt;br /&gt;
    }&lt;br /&gt;
    else if (err &amp;amp; std::ios_base::badbit) {&lt;br /&gt;
        std::cerr &amp;lt;&amp;lt; &amp;quot;fatal error while reading numeric value\n&amp;quot;;&lt;br /&gt;
        return EXIT_FAILURE;&lt;br /&gt;
    }&lt;br /&gt;
    else if (err &amp;amp; std::ios_base::failbit) {&lt;br /&gt;
        std::cerr &amp;lt;&amp;lt; &amp;quot;format error while reading numeric value\n&amp;quot;;&lt;br /&gt;
        return EXIT_FAILURE;&lt;br /&gt;
    }&lt;br /&gt;
}&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;pre class=codeResult&amp;gt;us&lt;br /&gt;
format error while reading numeric value&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Make a new locale and attach it to the standard output stream==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;#include &amp;lt;iomanip&amp;gt;&lt;br /&gt;
#include &amp;lt;iostream&amp;gt;&lt;br /&gt;
#include &amp;lt;locale&amp;gt;&lt;br /&gt;
using namespace std;&lt;br /&gt;
class Separator_facet: public numpunct&amp;lt;char&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   public:&lt;br /&gt;
   explicit Separator_facet( size_t refs = 0): numpunct&amp;lt;char&amp;gt;( refs ){}&lt;br /&gt;
   protected:&lt;br /&gt;
   virtual string do_grouping() const{ return &amp;quot;\3&amp;quot;; }&lt;br /&gt;
};&lt;br /&gt;
int main()&lt;br /&gt;
{&lt;br /&gt;
   const int million = 1000000;&lt;br /&gt;
   const double number = 1234.56789;&lt;br /&gt;
   cout &amp;lt;&amp;lt; million &amp;lt;&amp;lt; fixed &amp;lt;&amp;lt; setprecision( 5 ) &amp;lt;&amp;lt; number;&lt;br /&gt;
   locale separator_locale( cout.getloc(), new Separator_facet );&lt;br /&gt;
   cout.imbue( separator_locale );&lt;br /&gt;
   cout &amp;lt;&amp;lt; million &amp;lt;&amp;lt; &amp;quot; &amp;quot; &amp;lt;&amp;lt; number &amp;lt;&amp;lt; endl;&lt;br /&gt;
}&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Money format for US dollars==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;#include &amp;lt;iostream&amp;gt;&lt;br /&gt;
#include &amp;lt;locale&amp;gt;&lt;br /&gt;
using namespace std;&lt;br /&gt;
int main()&lt;br /&gt;
{&lt;br /&gt;
  double balance = 1234.56;&lt;br /&gt;
  locale usloc(&amp;quot;English_US&amp;quot;);&lt;br /&gt;
  locale gloc(&amp;quot;German_Germany&amp;quot;);&lt;br /&gt;
  cout &amp;lt;&amp;lt; showbase;&lt;br /&gt;
  cout.imbue(usloc);&lt;br /&gt;
  const money_put&amp;lt;char&amp;gt; &amp;amp;us_mon = use_facet&amp;lt;money_put&amp;lt;char&amp;gt; &amp;gt;(cout.getloc());&lt;br /&gt;
  us_mon.put(cout, false, cout, &amp;quot; &amp;quot;, &amp;quot;123456&amp;quot;);&lt;br /&gt;
  us_mon.put(cout, true, cout, &amp;quot; &amp;quot;, -299);&lt;br /&gt;
  us_mon.put(cout, false, cout, &amp;quot; &amp;quot;, balance * 100);&lt;br /&gt;
  return 0;&lt;br /&gt;
}&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Process the name of the locale and read input==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;/* The following code example is taken from the book&lt;br /&gt;
 * &amp;quot;The C++ Standard Library - A Tutorial and Reference&amp;quot;&lt;br /&gt;
 * by Nicolai M. Josuttis, Addison-Wesley, 1999&lt;br /&gt;
 *&lt;br /&gt;
 * (C) Copyright Nicolai M. Josuttis 1999.&lt;br /&gt;
 * Permission to copy, use, modify, sell and distribute this software&lt;br /&gt;
 * is granted provided this copyright notice appears in all copies.&lt;br /&gt;
 * This software is provided &amp;quot;as is&amp;quot; without express or implied&lt;br /&gt;
 * warranty, and with no claim as to its suitability for any purpose.&lt;br /&gt;
 */&lt;br /&gt;
#include &amp;lt;iostream&amp;gt;&lt;br /&gt;
#include &amp;lt;locale&amp;gt;&lt;br /&gt;
#include &amp;lt;string&amp;gt;&lt;br /&gt;
#include &amp;lt;cstdlib&amp;gt;&lt;br /&gt;
using namespace std;&lt;br /&gt;
int main()&lt;br /&gt;
{&lt;br /&gt;
    // create the default locale from the user&amp;quot;s environment&lt;br /&gt;
    locale langLocale(&amp;quot;&amp;quot;);&lt;br /&gt;
    // and assign it to the standard ouput channel&lt;br /&gt;
    cout.imbue(langLocale);&lt;br /&gt;
    // process the name of the locale&lt;br /&gt;
    bool isGerman;&lt;br /&gt;
    if (langLocale.name() == &amp;quot;de_DE&amp;quot; ||&lt;br /&gt;
        langLocale.name() == &amp;quot;de&amp;quot; ||&lt;br /&gt;
        langLocale.name() == &amp;quot;german&amp;quot;) {&lt;br /&gt;
          isGerman = true;&lt;br /&gt;
    }&lt;br /&gt;
    else {&lt;br /&gt;
          isGerman = false;&lt;br /&gt;
    }&lt;br /&gt;
    // read locale for the input&lt;br /&gt;
    if (isGerman) {&lt;br /&gt;
        cout &amp;lt;&amp;lt; &amp;quot;Sprachumgebung fuer Eingaben: &amp;quot;;&lt;br /&gt;
    }&lt;br /&gt;
    else {&lt;br /&gt;
        cout &amp;lt;&amp;lt; &amp;quot;Locale for input: &amp;quot;;&lt;br /&gt;
    }&lt;br /&gt;
    string s;&lt;br /&gt;
    cin &amp;gt;&amp;gt; s;&lt;br /&gt;
    if (!cin) {&lt;br /&gt;
        if (isGerman) {&lt;br /&gt;
            cerr &amp;lt;&amp;lt; &amp;quot;FEHLER beim Einlesen der Sprachumgebung&amp;quot;&lt;br /&gt;
                 &amp;lt;&amp;lt; endl;&lt;br /&gt;
        }&lt;br /&gt;
        else {&lt;br /&gt;
            cerr &amp;lt;&amp;lt; &amp;quot;ERROR while reading the locale&amp;quot; &amp;lt;&amp;lt; endl;&lt;br /&gt;
        }&lt;br /&gt;
        return EXIT_FAILURE;&lt;br /&gt;
    }&lt;br /&gt;
    locale cinLocale(s.c_str());&lt;br /&gt;
    // and assign it to the standard input channel&lt;br /&gt;
    cin.imbue(cinLocale);&lt;br /&gt;
    // read and output floating-point values in a loop&lt;br /&gt;
    double value;&lt;br /&gt;
    while (cin &amp;gt;&amp;gt; value) {&lt;br /&gt;
        cout &amp;lt;&amp;lt; value &amp;lt;&amp;lt; endl;&lt;br /&gt;
    }&lt;br /&gt;
}&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;pre class=codeResult&amp;gt;Locale for input: US&lt;br /&gt;
This application has requested the Runtime to terminate it in an unusual way.&lt;br /&gt;
Please contact the application&amp;quot;s support team for more information.&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==show money in international German format==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;#include &amp;lt;iostream&amp;gt;&lt;br /&gt;
#include &amp;lt;locale&amp;gt;&lt;br /&gt;
using namespace std;&lt;br /&gt;
int main()&lt;br /&gt;
{&lt;br /&gt;
  double balance = 5467.87;&lt;br /&gt;
  locale usloc(&amp;quot;English_US&amp;quot;);&lt;br /&gt;
  locale gloc(&amp;quot;German_Germany&amp;quot;);&lt;br /&gt;
  cout &amp;lt;&amp;lt; showbase;&lt;br /&gt;
  cout.imbue(usloc);&lt;br /&gt;
  const money_put&amp;lt;char&amp;gt; &amp;amp;us_mon = use_facet&amp;lt;money_put&amp;lt;char&amp;gt; &amp;gt;(cout.getloc());&lt;br /&gt;
  cout &amp;lt;&amp;lt; &amp;quot;Now show money in international German format:\n&amp;quot;;&lt;br /&gt;
  cout.imbue(gloc);&lt;br /&gt;
  const money_put&amp;lt;char&amp;gt; &amp;amp;g_mon = use_facet&amp;lt;money_put&amp;lt;char&amp;gt; &amp;gt;(cout.getloc());&lt;br /&gt;
  g_mon.put(cout, true, cout, &amp;quot; &amp;quot;, 123456);&lt;br /&gt;
  cout &amp;lt;&amp;lt; endl;&lt;br /&gt;
  g_mon.put(cout, true, cout, &amp;quot; &amp;quot;, -299);&lt;br /&gt;
  cout &amp;lt;&amp;lt; endl;&lt;br /&gt;
  g_mon.put(cout, true, cout, &amp;quot; &amp;quot;, balance * 100);&lt;br /&gt;
  return 0;&lt;br /&gt;
}&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Use a German locale to write data to standard ouput==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;/* The following code example is taken from the book&lt;br /&gt;
 * &amp;quot;The C++ Standard Library - A Tutorial and Reference&amp;quot;&lt;br /&gt;
 * by Nicolai M. Josuttis, Addison-Wesley, 1999&lt;br /&gt;
 *&lt;br /&gt;
 * (C) Copyright Nicolai M. Josuttis 1999.&lt;br /&gt;
 * Permission to copy, use, modify, sell and distribute this software&lt;br /&gt;
 * is granted provided this copyright notice appears in all copies.&lt;br /&gt;
 * This software is provided &amp;quot;as is&amp;quot; without express or implied&lt;br /&gt;
 * warranty, and with no claim as to its suitability for any purpose.&lt;br /&gt;
 */&lt;br /&gt;
#include &amp;lt;iostream&amp;gt;&lt;br /&gt;
#include &amp;lt;locale&amp;gt;&lt;br /&gt;
using namespace std;&lt;br /&gt;
int main()&lt;br /&gt;
{&lt;br /&gt;
    // use classic C locale to read data from standard input&lt;br /&gt;
    cin.imbue(locale::classic());&lt;br /&gt;
    // use a German locale to write data to standard ouput&lt;br /&gt;
    cout.imbue(locale(&amp;quot;de_DE&amp;quot;));&lt;br /&gt;
    // read and output floating-point values in a loop&lt;br /&gt;
    double value;&lt;br /&gt;
    while (cin &amp;gt;&amp;gt; value) {&lt;br /&gt;
        cout &amp;lt;&amp;lt; value &amp;lt;&amp;lt; endl;&lt;br /&gt;
    }&lt;br /&gt;
}&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;pre class=codeResult&amp;gt;This application has requested the Runtime to terminate it in an unusual way.&lt;br /&gt;
Please contact the application&amp;quot;s support team for more information.&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>