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%2Fstdio.h%2Fscanf</id>
		<title>C/stdio.h/scanf - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://www.cppe.ru/index.php?action=history&amp;feed=atom&amp;title=C%2Fstdio.h%2Fscanf"/>
		<link rel="alternate" type="text/html" href="http://www.cppe.ru/index.php?title=C/stdio.h/scanf&amp;action=history"/>
		<updated>2026-04-18T03:24:27Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://www.cppe.ru/index.php?title=C/stdio.h/scanf&amp;diff=708&amp;oldid=prev</id>
		<title> в 14:20, 25 мая 2010</title>
		<link rel="alternate" type="text/html" href="http://www.cppe.ru/index.php?title=C/stdio.h/scanf&amp;diff=708&amp;oldid=prev"/>
				<updated>2010-05-25T14:20:56Z</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:20, 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/stdio.h/scanf&amp;diff=709&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/stdio.h/scanf&amp;diff=709&amp;oldid=prev"/>
				<updated>2010-05-25T10:23:08Z</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;==scanf: 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;&lt;br /&gt;
    &lt;br /&gt;
//Header file:     #include &amp;lt;stdio.h&amp;gt;  &lt;br /&gt;
//Declaration:     int scanf(const char *format, ...); &lt;br /&gt;
// The scanf() Format Specifiers &lt;br /&gt;
    &lt;br /&gt;
//Code Meaning&lt;br /&gt;
//%a:  Read a floating-point value (C99 only) &lt;br /&gt;
//%A:  Same as %a (C99 only) &lt;br /&gt;
//%c:  Read a single character &lt;br /&gt;
//%d:  Read a decimal integer &lt;br /&gt;
//%i:  Read an integer in either decimal, octal, or hexadecimal format &lt;br /&gt;
//%e:  Read a floating-point number &lt;br /&gt;
//%E:  Same as %e &lt;br /&gt;
//%f:  Read a floating-point number &lt;br /&gt;
//%F:  Same as %f (C99 only) &lt;br /&gt;
//%g:  Read a floating-point number &lt;br /&gt;
//%G:  Same as %g &lt;br /&gt;
//%o:  Read an octal number &lt;br /&gt;
//%s:  Read a string &lt;br /&gt;
//%x:  Read a hexadecimal number &lt;br /&gt;
//%X:  Same as %x &lt;br /&gt;
//%p:  Read a pointer &lt;br /&gt;
//%n:  Receive an integer value equal to the number of characters read so far &lt;br /&gt;
//%u:  Read an unsigned decimal integer &lt;br /&gt;
//%[ ]:  Scan for a set of characters &lt;br /&gt;
//%%:  Read a percent sign &lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
  &lt;br /&gt;
  #include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
  int main(void)&lt;br /&gt;
  {&lt;br /&gt;
    char str[80], str2[80];&lt;br /&gt;
    int i;&lt;br /&gt;
    scanf(&amp;quot;%79s&amp;quot;, str); //scanf up to 79 chars into str&lt;br /&gt;
    return 0;&lt;br /&gt;
  }&lt;br /&gt;
           &lt;br /&gt;
       &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==scanf: skip the integer between the two strings==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  #include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
  int main(void)&lt;br /&gt;
  {&lt;br /&gt;
    char str[80], str2[80];&lt;br /&gt;
    int i;&lt;br /&gt;
    printf(&amp;quot;skip the integer between the two strings:&amp;quot;);&lt;br /&gt;
    scanf(&amp;quot;%s%*d%s&amp;quot;, str, str2);&lt;br /&gt;
    return 0;&lt;br /&gt;
  }&lt;br /&gt;
           &lt;br /&gt;
       &amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>