<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mediawiki.zeropage.org/index.php?action=history&amp;feed=atom&amp;title=%EB%A0%88%EB%B0%8D%EC%A6%88%ED%94%84%EB%A1%9C%EC%A0%9D%ED%8A%B8%2F%ED%94%84%EB%A1%9C%ED%86%A0%ED%83%80%EC%9E%85%2F%ED%8C%8C%EC%9D%BC%EC%8A%A4%ED%8A%B8%EB%A6%BC</id>
	<title>레밍즈프로젝트/프로토타입/파일스트림 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mediawiki.zeropage.org/index.php?action=history&amp;feed=atom&amp;title=%EB%A0%88%EB%B0%8D%EC%A6%88%ED%94%84%EB%A1%9C%EC%A0%9D%ED%8A%B8%2F%ED%94%84%EB%A1%9C%ED%86%A0%ED%83%80%EC%9E%85%2F%ED%8C%8C%EC%9D%BC%EC%8A%A4%ED%8A%B8%EB%A6%BC"/>
	<link rel="alternate" type="text/html" href="https://mediawiki.zeropage.org/index.php?title=%EB%A0%88%EB%B0%8D%EC%A6%88%ED%94%84%EB%A1%9C%EC%A0%9D%ED%8A%B8/%ED%94%84%EB%A1%9C%ED%86%A0%ED%83%80%EC%9E%85/%ED%8C%8C%EC%9D%BC%EC%8A%A4%ED%8A%B8%EB%A6%BC&amp;action=history"/>
	<updated>2026-05-15T23:14:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.8</generator>
	<entry>
		<id>https://mediawiki.zeropage.org/index.php?title=%EB%A0%88%EB%B0%8D%EC%A6%88%ED%94%84%EB%A1%9C%EC%A0%9D%ED%8A%B8/%ED%94%84%EB%A1%9C%ED%86%A0%ED%83%80%EC%9E%85/%ED%8C%8C%EC%9D%BC%EC%8A%A4%ED%8A%B8%EB%A6%BC&amp;diff=87774&amp;oldid=prev</id>
		<title>Maintenance script: Repair MoniWiki formatting after migration</title>
		<link rel="alternate" type="text/html" href="https://mediawiki.zeropage.org/index.php?title=%EB%A0%88%EB%B0%8D%EC%A6%88%ED%94%84%EB%A1%9C%EC%A0%9D%ED%8A%B8/%ED%94%84%EB%A1%9C%ED%86%A0%ED%83%80%EC%9E%85/%ED%8C%8C%EC%9D%BC%EC%8A%A4%ED%8A%B8%EB%A6%BC&amp;diff=87774&amp;oldid=prev"/>
		<updated>2026-03-29T00:34:39Z</updated>

		<summary type="html">&lt;p&gt;Repair MoniWiki formatting after migration&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&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: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 00:34, 29 March 2026&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-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;SeeAlso) [[레밍즈프로젝트]], [[레밍즈프로젝트/프로토타입]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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 style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[&lt;/ins&gt;SeeAlso&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]]&lt;/ins&gt;) [[레밍즈프로젝트]], [[레밍즈프로젝트/프로토타입]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;= 참고 =&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;= 참고 =&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;{| class=&amp;quot;wikitable&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;{| class=&amp;quot;wikitable&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
	<entry>
		<id>https://mediawiki.zeropage.org/index.php?title=%EB%A0%88%EB%B0%8D%EC%A6%88%ED%94%84%EB%A1%9C%EC%A0%9D%ED%8A%B8/%ED%94%84%EB%A1%9C%ED%86%A0%ED%83%80%EC%9E%85/%ED%8C%8C%EC%9D%BC%EC%8A%A4%ED%8A%B8%EB%A6%BC&amp;diff=85552&amp;oldid=prev</id>
		<title>Maintenance script: Repair batch-0005 pages from live compare</title>
		<link rel="alternate" type="text/html" href="https://mediawiki.zeropage.org/index.php?title=%EB%A0%88%EB%B0%8D%EC%A6%88%ED%94%84%EB%A1%9C%EC%A0%9D%ED%8A%B8/%ED%94%84%EB%A1%9C%ED%86%A0%ED%83%80%EC%9E%85/%ED%8C%8C%EC%9D%BC%EC%8A%A4%ED%8A%B8%EB%A6%BC&amp;diff=85552&amp;oldid=prev"/>
		<updated>2026-03-27T00:44:57Z</updated>

		<summary type="html">&lt;p&gt;Repair batch-0005 pages from live compare&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&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: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 00:44, 27 March 2026&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-l142&quot;&gt;Line 142:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 142:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;  		return;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;  		return;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;  	}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;  	}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;  	char* ps = new char&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[&lt;/del&gt;27&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]&lt;/del&gt;;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;  	char* ps = new char&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;amp;#91;&lt;/ins&gt;27&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;amp;#93;&lt;/ins&gt;;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;  	char* ps2 = ps;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;  	char* ps2 = ps;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;   &lt;/div&gt;&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-l164&quot;&gt;Line 164:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 164:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;  	UINT FileLength = (UINT)Rfile.GetLength();&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;  	UINT FileLength = (UINT)Rfile.GetLength();&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;  	char* ps = new char&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[&lt;/del&gt;FileLength&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]&lt;/del&gt;;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;  	char* ps = new char&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;amp;#91;&lt;/ins&gt;FileLength&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;amp;#93;&lt;/ins&gt;;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;  	Rfile.Read(ps,FileLength);&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;  	Rfile.Read(ps,FileLength);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;  	Rfile.Close();&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;  	Rfile.Close();&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff::1.12:old-50069:rev-85552 --&gt;
&lt;/table&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
	<entry>
		<id>https://mediawiki.zeropage.org/index.php?title=%EB%A0%88%EB%B0%8D%EC%A6%88%ED%94%84%EB%A1%9C%EC%A0%9D%ED%8A%B8/%ED%94%84%EB%A1%9C%ED%86%A0%ED%83%80%EC%9E%85/%ED%8C%8C%EC%9D%BC%EC%8A%A4%ED%8A%B8%EB%A6%BC&amp;diff=50069&amp;oldid=prev</id>
		<title>imported&gt;Unknown at 05:29, 7 February 2021</title>
		<link rel="alternate" type="text/html" href="https://mediawiki.zeropage.org/index.php?title=%EB%A0%88%EB%B0%8D%EC%A6%88%ED%94%84%EB%A1%9C%EC%A0%9D%ED%8A%B8/%ED%94%84%EB%A1%9C%ED%86%A0%ED%83%80%EC%9E%85/%ED%8C%8C%EC%9D%BC%EC%8A%A4%ED%8A%B8%EB%A6%BC&amp;diff=50069&amp;oldid=prev"/>
		<updated>2021-02-07T05:29:22Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;SeeAlso) [[레밍즈프로젝트]], [[레밍즈프로젝트/프로토타입]]&lt;br /&gt;
= 참고 =&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| MFC 파일 스트림&lt;br /&gt;
| [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcmfc98/html/_mfc_cstring.asp]&lt;br /&gt;
|-&lt;br /&gt;
| 파일복사 프로그램&lt;br /&gt;
| [http://blog.naver.com/kds6221.do?Redirect=Log&amp;amp;logNo=140013999545]&lt;br /&gt;
|-&lt;br /&gt;
| 파일입출력 예제&lt;br /&gt;
| [http://blog.naver.com/popo1008.do?Redirect=Log&amp;amp;logNo=20008968622]&lt;br /&gt;
|-&lt;br /&gt;
| memDC -&amp;gt; bitmap&lt;br /&gt;
| [http://blog.naver.com/zenix4078.do?Redirect=Log&amp;amp;logNo=11507823]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= 대략적인 CFile =&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Data Members&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| m_hFile&lt;br /&gt;
| Usually contains the operating-system file handle.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Construction&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| CFile&lt;br /&gt;
| Constructs a CFile object from a path or file handle.&lt;br /&gt;
|-&lt;br /&gt;
| Abort&lt;br /&gt;
| Closes a file ignoring all warnings and errors.&lt;br /&gt;
|-&lt;br /&gt;
| Duplicate&lt;br /&gt;
| Constructs a duplicate object based on this file.&lt;br /&gt;
|-&lt;br /&gt;
| Open&lt;br /&gt;
| Safely opens a file with an error-testing option.&lt;br /&gt;
|-&lt;br /&gt;
| Close&lt;br /&gt;
| Closes a file and deletes the object.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Input/Output&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| Read&lt;br /&gt;
| Reads (unbuffered) data from a file at the current file position.&lt;br /&gt;
|-&lt;br /&gt;
| ReadHuge&lt;br /&gt;
| Can read more than 64K of (unbuffered) data from a file at the current file position. Obsolete in 32-bit programming. See Read.&lt;br /&gt;
|-&lt;br /&gt;
| Write&lt;br /&gt;
| Writes (unbuffered) data in a file to the current file position.&lt;br /&gt;
|-&lt;br /&gt;
| WriteHuge&lt;br /&gt;
| Can write more than 64K of (unbuffered) data in a file to the current file position. Obsolete in 32-bit programming. See Write.&lt;br /&gt;
|-&lt;br /&gt;
| Flush&lt;br /&gt;
| Flushes any data yet to be written.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Position&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| Seek&lt;br /&gt;
| Positions the current file pointer.&lt;br /&gt;
|-&lt;br /&gt;
| SeekToBegin&lt;br /&gt;
| Positions the current file pointer at the beginning of the file.&lt;br /&gt;
|-&lt;br /&gt;
| SeekToEnd&lt;br /&gt;
| Positions the current file pointer at the end of the file.&lt;br /&gt;
|-&lt;br /&gt;
| GetLength&lt;br /&gt;
| Retrieves the length of the file.&lt;br /&gt;
|-&lt;br /&gt;
| SetLength&lt;br /&gt;
| Changes the length of the file.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Locking&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| LockRange&lt;br /&gt;
| Locks a range of bytes in a file.&lt;br /&gt;
|-&lt;br /&gt;
| UnlockRange&lt;br /&gt;
| Unlocks a range of bytes in a file.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Status&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| GetPosition&lt;br /&gt;
| Retrieves the current file pointer.&lt;br /&gt;
|-&lt;br /&gt;
| GetStatus&lt;br /&gt;
| Retrieves the status of this open file.&lt;br /&gt;
|-&lt;br /&gt;
| GetFileName&lt;br /&gt;
| Retrieves the filename of the selected file.&lt;br /&gt;
|-&lt;br /&gt;
| GetFileTitle&lt;br /&gt;
| Retrieves the title of the selected file.&lt;br /&gt;
|-&lt;br /&gt;
| GetFilePath&lt;br /&gt;
| Retrieves the full file path of the selected file.&lt;br /&gt;
|-&lt;br /&gt;
| SetFilePath&lt;br /&gt;
| Sets the full file path of the selected file.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Static&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| Rename&lt;br /&gt;
| Renames the specified file (static function).&lt;br /&gt;
|-&lt;br /&gt;
| Remove&lt;br /&gt;
| Deletes the specified file (static function).&lt;br /&gt;
|-&lt;br /&gt;
| GetStatus&lt;br /&gt;
| Retrieves the status of the specified file (static, virtual function).&lt;br /&gt;
|-&lt;br /&gt;
| SetStatus&lt;br /&gt;
| Sets the status of the specified file (static, virtual function).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= CFile Prototype =&lt;br /&gt;
전화받아라 이승한-_-&lt;br /&gt;
&lt;br /&gt;
 #include &amp;quot;FileioView.h&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 void CFileioView::OnWritefile()&lt;br /&gt;
 {&lt;br /&gt;
 	CFile Wfile;&lt;br /&gt;
 	if(!Wfile.Open(&amp;quot;TestFile.txt&amp;quot;, CFile::modeCreate | CFile::modeWrite))&lt;br /&gt;
 	{&lt;br /&gt;
 		::MessageBox(NULL, &amp;quot;Can&amp;#039;t Create testfile.txt !&amp;quot;, &amp;quot;Warning&amp;quot;, MB_OK | MB_ICONHAND);&lt;br /&gt;
 		return;&lt;br /&gt;
 	}&lt;br /&gt;
 	char* ps = new char[27];&lt;br /&gt;
 	char* ps2 = ps;&lt;br /&gt;
 &lt;br /&gt;
 	for(int i=0;i&amp;amp;lt;26;i++)&lt;br /&gt;
 		*ps2++ = &amp;#039;A&amp;#039;+i;&lt;br /&gt;
 	*ps2 = NULL;    // NULL 문자로 끝나게 한다.&lt;br /&gt;
 	Wfile.Write(ps,27);&lt;br /&gt;
 	Wfile.Close();&lt;br /&gt;
 	delete ps;&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 void CFileioView::OnReadfile()&lt;br /&gt;
 {&lt;br /&gt;
 	CFile Rfile;&lt;br /&gt;
 	if(!Rfile.Open(&amp;quot;TestFile.txt&amp;quot;, CFile::modeRead))&lt;br /&gt;
 	{&lt;br /&gt;
 		::MessageBox(NULL, &amp;quot;Can&amp;#039;t Open testfile.txt !&amp;quot;, &amp;quot;Warning&amp;quot;,&lt;br /&gt;
                        MB_OK | MB_ICONHAND);&lt;br /&gt;
 		return;&lt;br /&gt;
 	}&lt;br /&gt;
 	UINT FileLength = (UINT)Rfile.GetLength();&lt;br /&gt;
 &lt;br /&gt;
 	char* ps = new char[FileLength];&lt;br /&gt;
 	Rfile.Read(ps,FileLength);&lt;br /&gt;
 	Rfile.Close();&lt;br /&gt;
 &lt;br /&gt;
 	CPaintDC dc(this);&lt;br /&gt;
 	dc.TextOut(0,0,ps,lstrlen(ps));&lt;br /&gt;
 	delete ps;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
파일 입출력 부분에 의해 &amp;quot;TestFile.txt&amp;quot;라는 파일을 만들고,&lt;br /&gt;
CFile 클래스 내의 Write() 함수를 이용해서 &amp;#039;A&amp;#039; ~ &amp;#039;Z&amp;#039; 까지 써 넣는 함수 (OnWriteFile())와,&lt;br /&gt;
파일에 쓰여진 &amp;#039;A&amp;#039; ~ &amp;#039;Z&amp;#039;까지 불러들여서 화면에 출력하는 함수 (OnReadFile()) 함수이다.&lt;br /&gt;
&lt;br /&gt;
우선 기본적으로 레밍즈에서 맵을 제작하게 되면 맵을 저장하기 위해서&lt;br /&gt;
위의 OnWriteFile()에서 쓰여진 Open() 함수와 Write() 함수를 쓰게 될것 같다.&lt;br /&gt;
그리고 레밍즈 게임을 실행하게 되면 그 맵이 불려져야 하므로,&lt;br /&gt;
기본적인 Read() 함수도 사용할 것 같다.&lt;br /&gt;
그러나 실제 레밍즈 게임에서는 txt 파일 형식이 아니라 bitmap 형식으로의 저장과 읽기가 가능해야 하므로,&lt;br /&gt;
가상화면을 생성하고, 가상화면에 그린것을 화면으로 복사하고 , 가상화면을 지우는 작업등이 추가 되어야 한다.&lt;br /&gt;
그 나머지 과정은 일반적인 작업 내용은 거의 동일하므로 기본적인 CFile 부분을 숙지해야 할 것 같다.&lt;/div&gt;</summary>
		<author><name>imported&gt;Unknown</name></author>
	</entry>
</feed>