<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://ejudge.ru/wiki/index.php?action=history&amp;feed=atom&amp;title=Libchecker%3Achecker_normalize_file</id>
	<title>Libchecker:checker normalize file - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://ejudge.ru/wiki/index.php?action=history&amp;feed=atom&amp;title=Libchecker%3Achecker_normalize_file"/>
	<link rel="alternate" type="text/html" href="https://ejudge.ru/wiki/index.php?title=Libchecker:checker_normalize_file&amp;action=history"/>
	<updated>2026-04-19T21:27:44Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://ejudge.ru/wiki/index.php?title=Libchecker:checker_normalize_file&amp;diff=2240&amp;oldid=prev</id>
		<title>Cher at 15:06, 23 August 2008</title>
		<link rel="alternate" type="text/html" href="https://ejudge.ru/wiki/index.php?title=Libchecker:checker_normalize_file&amp;diff=2240&amp;oldid=prev"/>
		<updated>2008-08-23T15:06:52Z</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;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 15:06, 23 August 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l7&quot; &gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Функция удаляет [[пробельный символ|пробельные символы]], находящиеся на концах строк. Затем удаляются пустые строки в конце массива строк. Параметр &amp;lt;tt&amp;gt;lines&amp;lt;/tt&amp;gt; &amp;amp;mdash; это указатель на массив указателей на строки текста, считанного из файла в память. Указатели на строки текста не могут быть равны NULL. Параметр &amp;lt;tt&amp;gt;lines_num&amp;lt;/tt&amp;gt; &amp;amp;mdash; это указатель на переменную, которая хранит количество считанных из файла строк текста. В результате работы функции значение этой переменной может измениться.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Функция удаляет [[пробельный символ|пробельные символы]], находящиеся на концах строк. Затем удаляются пустые строки в конце массива строк. Параметр &amp;lt;tt&amp;gt;lines&amp;lt;/tt&amp;gt; &amp;amp;mdash; это указатель на массив указателей на строки текста, считанного из файла в память. Указатели на строки текста не могут быть равны NULL. Параметр &amp;lt;tt&amp;gt;lines_num&amp;lt;/tt&amp;gt; &amp;amp;mdash; это указатель на переменную, которая хранит количество считанных из файла строк текста. В результате работы функции значение этой переменной может измениться.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;См. также: [[libchecker:checker_read_file_by_line|checker_read_file_by_line]], [[libchecker:checker_read_file_by_line_f|checker_read_file_by_line_f]].&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;См. также: &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[libchecker:checker_normalize_spaces_in_file|checker_normalize_spaces_in_file]],&lt;/ins&gt;[[libchecker:checker_read_file_by_line|checker_read_file_by_line]], [[libchecker:checker_read_file_by_line_f|checker_read_file_by_line_f]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Cher</name></author>
		
	</entry>
	<entry>
		<id>https://ejudge.ru/wiki/index.php?title=Libchecker:checker_normalize_file&amp;diff=2238&amp;oldid=prev</id>
		<title>Cher at 15:02, 23 August 2008</title>
		<link rel="alternate" type="text/html" href="https://ejudge.ru/wiki/index.php?title=Libchecker:checker_normalize_file&amp;diff=2238&amp;oldid=prev"/>
		<updated>2008-08-23T15:02:33Z</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;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 15:02, 23 August 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l7&quot; &gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Функция удаляет [[пробельный символ|пробельные символы]], находящиеся на концах строк. Затем удаляются пустые строки в конце массива строк. Параметр &amp;lt;tt&amp;gt;lines&amp;lt;/tt&amp;gt; &amp;amp;mdash; это указатель на массив указателей на строки текста, считанного из файла в память. Указатели на строки текста не могут быть равны NULL. Параметр &amp;lt;tt&amp;gt;lines_num&amp;lt;/tt&amp;gt; &amp;amp;mdash; это указатель на переменную, которая хранит количество считанных из файла строк текста. В результате работы функции значение этой переменной может измениться.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Функция удаляет [[пробельный символ|пробельные символы]], находящиеся на концах строк. Затем удаляются пустые строки в конце массива строк. Параметр &amp;lt;tt&amp;gt;lines&amp;lt;/tt&amp;gt; &amp;amp;mdash; это указатель на массив указателей на строки текста, считанного из файла в память. Указатели на строки текста не могут быть равны NULL. Параметр &amp;lt;tt&amp;gt;lines_num&amp;lt;/tt&amp;gt; &amp;amp;mdash; это указатель на переменную, которая хранит количество считанных из файла строк текста. В результате работы функции значение этой переменной может измениться.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;См. также: [[libchecker:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;checker_read_file&lt;/del&gt;|&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;checker_read_file&lt;/del&gt;]], [[libchecker:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;checker_read_file_f&lt;/del&gt;|&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;checker_read_file_f&lt;/del&gt;]].&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;См. также: [[libchecker:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;checker_read_file_by_line&lt;/ins&gt;|&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;checker_read_file_by_line&lt;/ins&gt;]], [[libchecker:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;checker_read_file_by_line_f&lt;/ins&gt;|&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;checker_read_file_by_line_f&lt;/ins&gt;]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Cher</name></author>
		
	</entry>
	<entry>
		<id>https://ejudge.ru/wiki/index.php?title=Libchecker:checker_normalize_file&amp;diff=2237&amp;oldid=prev</id>
		<title>Cher: New page: Навигация: Главная страница/Система ejudge/Проверяющие программы/libchecker/[[Libchecker:Функции|Фун...</title>
		<link rel="alternate" type="text/html" href="https://ejudge.ru/wiki/index.php?title=Libchecker:checker_normalize_file&amp;diff=2237&amp;oldid=prev"/>
		<updated>2008-08-23T15:01:34Z</updated>

		<summary type="html">&lt;p&gt;New page: Навигация: &lt;a href=&quot;/wiki/index.php/Main_Page&quot; title=&quot;Main Page&quot;&gt;Главная страница&lt;/a&gt;/&lt;a href=&quot;/wiki/index.php/%D0%A1%D0%B8%D1%81%D1%82%D0%B5%D0%BC%D0%B0_ejudge&quot; title=&quot;Система ejudge&quot;&gt;Система ejudge&lt;/a&gt;/&lt;a href=&quot;/wiki/index.php/%D0%9F%D1%80%D0%BE%D0%B2%D0%B5%D1%80%D1%8F%D1%8E%D1%89%D0%B8%D0%B5_%D0%BF%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D0%BC%D1%8B&quot; title=&quot;Проверяющие программы&quot;&gt;Проверяющие программы&lt;/a&gt;/&lt;a href=&quot;/wiki/index.php/Libchecker&quot; title=&quot;Libchecker&quot;&gt;libchecker&lt;/a&gt;/[[Libchecker:Функции|Фун...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Навигация: [[Main Page|Главная страница]]/[[Система ejudge]]/[[Проверяющие программы]]/[[libchecker]]/[[Libchecker:Функции|Функции]]/[[Libchecker:Чтение файла как текста|Чтение файла как текста]]/[[Libchecker:checker normalize file|checker_normalize_file]]&lt;br /&gt;
&lt;br /&gt;
Функция &amp;lt;tt&amp;gt;checker_normalize_file&amp;lt;/tt&amp;gt; &amp;amp;mdash; удалить незначащие пробелы из считанного в память [[текстовый файл|текстового файла]].&lt;br /&gt;
&lt;br /&gt;
 void checker_normalize_file(char **lines, size_t *lines_num);&lt;br /&gt;
&lt;br /&gt;
Функция удаляет [[пробельный символ|пробельные символы]], находящиеся на концах строк. Затем удаляются пустые строки в конце массива строк. Параметр &amp;lt;tt&amp;gt;lines&amp;lt;/tt&amp;gt; &amp;amp;mdash; это указатель на массив указателей на строки текста, считанного из файла в память. Указатели на строки текста не могут быть равны NULL. Параметр &amp;lt;tt&amp;gt;lines_num&amp;lt;/tt&amp;gt; &amp;amp;mdash; это указатель на переменную, которая хранит количество считанных из файла строк текста. В результате работы функции значение этой переменной может измениться.&lt;br /&gt;
&lt;br /&gt;
См. также: [[libchecker:checker_read_file|checker_read_file]], [[libchecker:checker_read_file_f|checker_read_file_f]].&lt;/div&gt;</summary>
		<author><name>Cher</name></author>
		
	</entry>
</feed>