<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ko">
	<id>https://bigforest.a2hosted.com/w/index.php?action=history&amp;feed=atom&amp;title=%EC%9E%91%EC%9D%80%EC%88%B2%3A%EC%9C%84%ED%82%A4%EB%85%B8%ED%8A%B8%2FC_and_C%2B%2B_Coding_Style</id>
	<title>작은숲:위키노트/C and C++ Coding Style - 편집 역사</title>
	<link rel="self" type="application/atom+xml" href="https://bigforest.a2hosted.com/w/index.php?action=history&amp;feed=atom&amp;title=%EC%9E%91%EC%9D%80%EC%88%B2%3A%EC%9C%84%ED%82%A4%EB%85%B8%ED%8A%B8%2FC_and_C%2B%2B_Coding_Style"/>
	<link rel="alternate" type="text/html" href="https://bigforest.a2hosted.com/w/index.php?title=%EC%9E%91%EC%9D%80%EC%88%B2:%EC%9C%84%ED%82%A4%EB%85%B8%ED%8A%B8/C_and_C%2B%2B_Coding_Style&amp;action=history"/>
	<updated>2026-05-18T03:41:15Z</updated>
	<subtitle>이 문서의 편집 역사</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://bigforest.a2hosted.com/w/index.php?title=%EC%9E%91%EC%9D%80%EC%88%B2:%EC%9C%84%ED%82%A4%EB%85%B8%ED%8A%B8/C_and_C%2B%2B_Coding_Style&amp;diff=20373&amp;oldid=prev</id>
		<title>Utolee90: Utolee90님이 C and C++ Coding Style 문서를 작은숲:위키노트/C and C++ Coding Style 문서로 이동했습니다: 제목 변경</title>
		<link rel="alternate" type="text/html" href="https://bigforest.a2hosted.com/w/index.php?title=%EC%9E%91%EC%9D%80%EC%88%B2:%EC%9C%84%ED%82%A4%EB%85%B8%ED%8A%B8/C_and_C%2B%2B_Coding_Style&amp;diff=20373&amp;oldid=prev"/>
		<updated>2022-05-07T04:08:45Z</updated>

		<summary type="html">&lt;p&gt;Utolee90님이 &lt;a href=&quot;/wiki/C_and_C%2B%2B_Coding_Style&quot; class=&quot;mw-redirect&quot; title=&quot;C and C++ Coding Style&quot;&gt;C and C++ Coding Style&lt;/a&gt; 문서를 &lt;a href=&quot;/wiki/%EC%9E%91%EC%9D%80%EC%88%B2:%EC%9C%84%ED%82%A4%EB%85%B8%ED%8A%B8/C_and_C%2B%2B_Coding_Style&quot; title=&quot;작은숲:위키노트/C and C++ Coding Style&quot;&gt;작은숲:위키노트/C and C++ Coding Style&lt;/a&gt; 문서로 이동했습니다: 제목 변경&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ko&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 이전 판&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2022년 5월 7일 (토) 13:08 판&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ko&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(차이 없음)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Utolee90</name></author>
	</entry>
	<entry>
		<id>https://bigforest.a2hosted.com/w/index.php?title=%EC%9E%91%EC%9D%80%EC%88%B2:%EC%9C%84%ED%82%A4%EB%85%B8%ED%8A%B8/C_and_C%2B%2B_Coding_Style&amp;diff=20372&amp;oldid=prev</id>
		<title>Utolee90: 문자열 찾아 바꾸기 - &quot;분류:공유&quot; 문자열을 &quot;분류:위키노트/공유&quot; 문자열로</title>
		<link rel="alternate" type="text/html" href="https://bigforest.a2hosted.com/w/index.php?title=%EC%9E%91%EC%9D%80%EC%88%B2:%EC%9C%84%ED%82%A4%EB%85%B8%ED%8A%B8/C_and_C%2B%2B_Coding_Style&amp;diff=20372&amp;oldid=prev"/>
		<updated>2021-03-28T03:17:40Z</updated>

		<summary type="html">&lt;p&gt;문자열 찾아 바꾸기 - &amp;quot;&lt;a href=&quot;/w/index.php?title=%EB%B6%84%EB%A5%98:%EA%B3%B5%EC%9C%A0&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;분류:공유 (없는 문서)&quot;&gt;분류:공유&lt;/a&gt;&amp;quot; 문자열을 &amp;quot;&lt;a href=&quot;/wiki/%EB%B6%84%EB%A5%98:%EC%9C%84%ED%82%A4%EB%85%B8%ED%8A%B8/%EA%B3%B5%EC%9C%A0&quot; title=&quot;분류:위키노트/공유&quot;&gt;분류:위키노트/공유&lt;/a&gt;&amp;quot; 문자열로&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;ko&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 이전 판&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2021년 3월 28일 (일) 12:17 판&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-l327&quot;&gt;327번째 줄:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;327번째 줄:&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;&amp;lt;/pre&amp;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;&amp;lt;/pre&amp;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;&amp;lt;tt&amp;gt;Copyright (c) 1999 By C Scene. All Rights Reserved. http://www.cscene.org&amp;lt;/tt&amp;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;&amp;lt;tt&amp;gt;Copyright (c) 1999 By C Scene. All Rights Reserved. http://www.cscene.org&amp;lt;/tt&amp;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;[[분류:공유]]&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;공유]]&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;[[분류:C 언어]]{{퍼온문서|위키노트|{{#invoke:string|replace|{{PAGENAME}}|위키노트:|}}}}[[분류:위키노트에서 가져온 문서]]&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;[[분류:C 언어]]{{퍼온문서|위키노트|{{#invoke:string|replace|{{PAGENAME}}|위키노트:|}}}}[[분류:위키노트에서 가져온 문서]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Utolee90</name></author>
	</entry>
	<entry>
		<id>https://bigforest.a2hosted.com/w/index.php?title=%EC%9E%91%EC%9D%80%EC%88%B2:%EC%9C%84%ED%82%A4%EB%85%B8%ED%8A%B8/C_and_C%2B%2B_Coding_Style&amp;diff=20371&amp;oldid=prev</id>
		<title>Utolee90: Utolee90님이 위키노트:C and C++ Coding Style 문서를 C and C++ Coding Style 문서로 이동했습니다: Move_Pages_by_removing_the_text_위키노트_via_pywikibot</title>
		<link rel="alternate" type="text/html" href="https://bigforest.a2hosted.com/w/index.php?title=%EC%9E%91%EC%9D%80%EC%88%B2:%EC%9C%84%ED%82%A4%EB%85%B8%ED%8A%B8/C_and_C%2B%2B_Coding_Style&amp;diff=20371&amp;oldid=prev"/>
		<updated>2017-07-02T08:49:48Z</updated>

		<summary type="html">&lt;p&gt;Utolee90님이 &lt;a href=&quot;/wiki/%EC%9C%84%ED%82%A4%EB%85%B8%ED%8A%B8:C_and_C%2B%2B_Coding_Style&quot; class=&quot;mw-redirect&quot; title=&quot;위키노트:C and C++ Coding Style&quot;&gt;위키노트:C and C++ Coding Style&lt;/a&gt; 문서를 &lt;a href=&quot;/wiki/C_and_C%2B%2B_Coding_Style&quot; class=&quot;mw-redirect&quot; title=&quot;C and C++ Coding Style&quot;&gt;C and C++ Coding Style&lt;/a&gt; 문서로 이동했습니다: Move_Pages_by_removing_the_text_위키노트_via_pywikibot&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ko&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 이전 판&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2017년 7월 2일 (일) 17:49 판&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ko&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(차이 없음)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Utolee90</name></author>
	</entry>
	<entry>
		<id>https://bigforest.a2hosted.com/w/index.php?title=%EC%9E%91%EC%9D%80%EC%88%B2:%EC%9C%84%ED%82%A4%EB%85%B8%ED%8A%B8/C_and_C%2B%2B_Coding_Style&amp;diff=20370&amp;oldid=prev</id>
		<title>Utolee90: 문자열 찾아 바꾸기 - &quot;{{퍼온문서|위키노트|{{#invoke:string|replace|위키노트:|}}}}분류:위키노트에서 가져온 문서&quot; 문자열을 &quot;{{퍼온문서|위키노트|{{#invoke:string|replace|{{PAGENAME}}|위키노트:|}}}}분류:위키노트에서 가져온 문서&quot; 문자열로</title>
		<link rel="alternate" type="text/html" href="https://bigforest.a2hosted.com/w/index.php?title=%EC%9E%91%EC%9D%80%EC%88%B2:%EC%9C%84%ED%82%A4%EB%85%B8%ED%8A%B8/C_and_C%2B%2B_Coding_Style&amp;diff=20370&amp;oldid=prev"/>
		<updated>2017-03-01T15:35:17Z</updated>

		<summary type="html">&lt;p&gt;문자열 찾아 바꾸기 - &amp;quot;{{퍼온문서|위키노트|{{#invoke:string|replace|위키노트:|}}}}&lt;a href=&quot;/wiki/%EB%B6%84%EB%A5%98:%EC%9C%84%ED%82%A4%EB%85%B8%ED%8A%B8%EC%97%90%EC%84%9C_%EA%B0%80%EC%A0%B8%EC%98%A8_%EB%AC%B8%EC%84%9C&quot; title=&quot;분류:위키노트에서 가져온 문서&quot;&gt;분류:위키노트에서 가져온 문서&lt;/a&gt;&amp;quot; 문자열을 &amp;quot;{{퍼온문서|위키노트|{{#invoke:string|replace|{{PAGENAME}}|위키노트:|}}}}&lt;a href=&quot;/wiki/%EB%B6%84%EB%A5%98:%EC%9C%84%ED%82%A4%EB%85%B8%ED%8A%B8%EC%97%90%EC%84%9C_%EA%B0%80%EC%A0%B8%EC%98%A8_%EB%AC%B8%EC%84%9C&quot; title=&quot;분류:위키노트에서 가져온 문서&quot;&gt;분류:위키노트에서 가져온 문서&lt;/a&gt;&amp;quot; 문자열로&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;ko&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 이전 판&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2017년 3월 2일 (목) 00:35 판&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-l328&quot;&gt;328번째 줄:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;328번째 줄:&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;&amp;lt;tt&amp;gt;Copyright (c) 1999 By C Scene. All Rights Reserved. http://www.cscene.org&amp;lt;/tt&amp;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;&amp;lt;tt&amp;gt;Copyright (c) 1999 By C Scene. All Rights Reserved. http://www.cscene.org&amp;lt;/tt&amp;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; 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;[[분류:C 언어]]{{퍼온문서|위키노트|{{#invoke:string|replace|위키노트:|}}}}[[분류:위키노트에서 가져온 문서]]&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;[[분류:C 언어]]{{퍼온문서|위키노트|{{#invoke:string|replace&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|{{PAGENAME}}&lt;/ins&gt;|위키노트:|}}}}[[분류:위키노트에서 가져온 문서]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Utolee90</name></author>
	</entry>
	<entry>
		<id>https://bigforest.a2hosted.com/w/index.php?title=%EC%9E%91%EC%9D%80%EC%88%B2:%EC%9C%84%ED%82%A4%EB%85%B8%ED%8A%B8/C_and_C%2B%2B_Coding_Style&amp;diff=20369&amp;oldid=prev</id>
		<title>Utolee90: 문자열 찾아 바꾸기 - &quot;분류:위키노트에서 가져온 문서&quot; 문자열을 &quot;{{퍼온문서|위키노트|{{#invoke:string|replace|위키노트:|}}}}분류:위키노트에서 가져온 문서&quot; 문자열로</title>
		<link rel="alternate" type="text/html" href="https://bigforest.a2hosted.com/w/index.php?title=%EC%9E%91%EC%9D%80%EC%88%B2:%EC%9C%84%ED%82%A4%EB%85%B8%ED%8A%B8/C_and_C%2B%2B_Coding_Style&amp;diff=20369&amp;oldid=prev"/>
		<updated>2017-03-01T15:28:21Z</updated>

		<summary type="html">&lt;p&gt;문자열 찾아 바꾸기 - &amp;quot;&lt;a href=&quot;/wiki/%EB%B6%84%EB%A5%98:%EC%9C%84%ED%82%A4%EB%85%B8%ED%8A%B8%EC%97%90%EC%84%9C_%EA%B0%80%EC%A0%B8%EC%98%A8_%EB%AC%B8%EC%84%9C&quot; title=&quot;분류:위키노트에서 가져온 문서&quot;&gt;분류:위키노트에서 가져온 문서&lt;/a&gt;&amp;quot; 문자열을 &amp;quot;{{퍼온문서|위키노트|{{#invoke:string|replace|위키노트:|}}}}&lt;a href=&quot;/wiki/%EB%B6%84%EB%A5%98:%EC%9C%84%ED%82%A4%EB%85%B8%ED%8A%B8%EC%97%90%EC%84%9C_%EA%B0%80%EC%A0%B8%EC%98%A8_%EB%AC%B8%EC%84%9C&quot; title=&quot;분류:위키노트에서 가져온 문서&quot;&gt;분류:위키노트에서 가져온 문서&lt;/a&gt;&amp;quot; 문자열로&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;ko&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 이전 판&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2017년 3월 2일 (목) 00:28 판&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-l328&quot;&gt;328번째 줄:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;328번째 줄:&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;&amp;lt;tt&amp;gt;Copyright (c) 1999 By C Scene. All Rights Reserved. http://www.cscene.org&amp;lt;/tt&amp;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;&amp;lt;tt&amp;gt;Copyright (c) 1999 By C Scene. All Rights Reserved. http://www.cscene.org&amp;lt;/tt&amp;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; 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;[[분류:C 언어]][[분류:위키노트에서 가져온 문서]]&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;[[분류:C 언어]]&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{퍼온문서|위키노트|{{#invoke:string|replace|위키노트:|}}}}&lt;/ins&gt;[[분류:위키노트에서 가져온 문서]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Utolee90</name></author>
	</entry>
	<entry>
		<id>https://bigforest.a2hosted.com/w/index.php?title=%EC%9E%91%EC%9D%80%EC%88%B2:%EC%9C%84%ED%82%A4%EB%85%B8%ED%8A%B8/C_and_C%2B%2B_Coding_Style&amp;diff=20368&amp;oldid=prev</id>
		<title>Utolee90: 판 1개를 가져왔습니다: 자유위키의 위키노트 데이터 가져옴</title>
		<link rel="alternate" type="text/html" href="https://bigforest.a2hosted.com/w/index.php?title=%EC%9E%91%EC%9D%80%EC%88%B2:%EC%9C%84%ED%82%A4%EB%85%B8%ED%8A%B8/C_and_C%2B%2B_Coding_Style&amp;diff=20368&amp;oldid=prev"/>
		<updated>2017-03-01T14:51:18Z</updated>

		<summary type="html">&lt;p&gt;판 1개를 가져왔습니다: 자유위키의 위키노트 데이터 가져옴&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ko&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 이전 판&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2017년 3월 1일 (수) 23:51 판&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ko&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(차이 없음)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Utolee90</name></author>
	</entry>
	<entry>
		<id>https://bigforest.a2hosted.com/w/index.php?title=%EC%9E%91%EC%9D%80%EC%88%B2:%EC%9C%84%ED%82%A4%EB%85%B8%ED%8A%B8/C_and_C%2B%2B_Coding_Style&amp;diff=20367&amp;oldid=prev</id>
		<title>Utolee90: 판 1개를 가져왔습니다: 위키노트(http://wiki.mooo.org/)에서 가져옴</title>
		<link rel="alternate" type="text/html" href="https://bigforest.a2hosted.com/w/index.php?title=%EC%9E%91%EC%9D%80%EC%88%B2:%EC%9C%84%ED%82%A4%EB%85%B8%ED%8A%B8/C_and_C%2B%2B_Coding_Style&amp;diff=20367&amp;oldid=prev"/>
		<updated>2016-11-09T17:12:30Z</updated>

		<summary type="html">&lt;p&gt;판 1개를 가져왔습니다: 위키노트(http://wiki.mooo.org/)에서 가져옴&lt;/p&gt;
&lt;p&gt;&lt;b&gt;새 문서&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
_Secret&lt;br /&gt;
http://www.nauticom.net/www/secret&lt;br /&gt;
programming@teo.nauticom.net&lt;br /&gt;
                           C and C++ Coding Style&lt;br /&gt;
    This was written in order to show new C and C++ coders the coding style&lt;br /&gt;
that I use and prefer.  It also contains explanations of why I use some of the &lt;br /&gt;
techniques that I will show you.  Other people's styles vary (Of course, I&lt;br /&gt;
think most other styles are crap) but this is my preferred style.  Use it if &lt;br /&gt;
you like it or don't use it.&lt;br /&gt;
    First Note: use ONLY /* */ comments in C and use // comments in C++.  This &lt;br /&gt;
is a bit organized and makes the programs look cleaner.  not all C compilers &lt;br /&gt;
allow // comments, so you're just making your program more portable for not &lt;br /&gt;
using them.  In C++, I wouldn't use /* */ since they would make the code &lt;br /&gt;
uglier.&lt;br /&gt;
    At the top of every program, header, resource or any source code I place&lt;br /&gt;
a block comment with the intent of the file.&lt;br /&gt;
in C:&lt;br /&gt;
/*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*&lt;br /&gt;
 |              This is an Example                                           |&lt;br /&gt;
 |                                                                           |&lt;br /&gt;
 |                                                                           |&lt;br /&gt;
 |          Place Dates, Compiling Info, Contact Info                        |&lt;br /&gt;
 |                 Purpose of program                                        |&lt;br /&gt;
 *-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/&lt;br /&gt;
in C++:&lt;br /&gt;
/////////////////////////////////////////////////////////////&lt;br /&gt;
// This is an Example                                      //&lt;br /&gt;
//                                                         //&lt;br /&gt;
// Place Dates, Compiling Info, Contact Info               //&lt;br /&gt;
//                                                         //&lt;br /&gt;
// Purpose of Program                                      //&lt;br /&gt;
/////////////////////////////////////////////////////////////&lt;br /&gt;
Next come the header files, I usually like to have them 1 space from the side &lt;br /&gt;
of the file like:&lt;br /&gt;
C++:&lt;br /&gt;
//////////////////&lt;br /&gt;
// Header Files&lt;br /&gt;
//////////////////&lt;br /&gt;
 #include &amp;lt;iostream.h&amp;gt;&lt;br /&gt;
C:&lt;br /&gt;
 /* Header Files */&lt;br /&gt;
 #include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
Like the above, except some old C compilers will not compile any code with a &lt;br /&gt;
header file like this, they require all preprocessor commands to be 0 spaces &lt;br /&gt;
from the side.&lt;br /&gt;
Like so:&lt;br /&gt;
C:&lt;br /&gt;
 /* Header Files */&lt;br /&gt;
So, you decide your platform and style if you should have 1 space or 0 space.&lt;br /&gt;
Next, come the constants and structures&lt;br /&gt;
C++:&lt;br /&gt;
/////////////////////////////&lt;br /&gt;
// Constants and Structures &lt;br /&gt;
/////////////////////////////&lt;br /&gt;
 const int MAX_X = 10;&lt;br /&gt;
 const int MAX_Y = 20;&lt;br /&gt;
C:&lt;br /&gt;
/* Constants and Structures */&lt;br /&gt;
 #define MAX_X     10&lt;br /&gt;
 #define MAX_Y     20&lt;br /&gt;
I always have constants in ALL CAPITAL LETTERS this makes them easier to notice &lt;br /&gt;
in the program.&lt;br /&gt;
Structures should always be typedefs.&lt;br /&gt;
 typedef struct pixel_type {&lt;br /&gt;
    char Color;&lt;br /&gt;
    int X, Y;&lt;br /&gt;
} Pixel;&lt;br /&gt;
And have that form.  With the first bracket on the same line as the struct. I &lt;br /&gt;
like to give structures Capital first letters.&lt;br /&gt;
Next, come the global variables (If any). In windows, it is necessary to use &lt;br /&gt;
Globals and when implementing interrupt handlers in DOS. Other than that, if &lt;br /&gt;
you do not have to use a global, do not ever use globals.  Try to use as few as &lt;br /&gt;
possible.&lt;br /&gt;
C++:&lt;br /&gt;
/////////////////////&lt;br /&gt;
// Global Variables&lt;br /&gt;
/////////////////////&lt;br /&gt;
 Pixel g_Screen[64000];&lt;br /&gt;
C:&lt;br /&gt;
 /* Global Variables */&lt;br /&gt;
 Pixel g_Screen[64000];&lt;br /&gt;
Globals should begin with a &amp;quot;g_&amp;quot; so they are easier to point out.  And the &lt;br /&gt;
first name should begin with a capital letter.&lt;br /&gt;
Next, in C++ come the Object defines.&lt;br /&gt;
////////////////////&lt;br /&gt;
// Objects&lt;br /&gt;
////////////////////&lt;br /&gt;
////////////&lt;br /&gt;
// Foo Object&lt;br /&gt;
////////////&lt;br /&gt;
class Foo {&lt;br /&gt;
    public:&lt;br /&gt;
   private:&lt;br /&gt;
} ;&lt;br /&gt;
The brackets I like to take on the same style as the 0 and I like to have the &lt;br /&gt;
public first, then the private.  When you're going to use a class, You'd want &lt;br /&gt;
to see the interface that you can use first, not the hidden implementations.  &lt;br /&gt;
private goes second.  Objects I like to have named with a capital first letter &lt;br /&gt;
as well.&lt;br /&gt;
Next, come the function prototypes.&lt;br /&gt;
C++:&lt;br /&gt;
//////////////////////////&lt;br /&gt;
// Function Prototypes&lt;br /&gt;
//////////////////////////&lt;br /&gt;
 void Foo(void);&lt;br /&gt;
 void RainMan(int, char *);&lt;br /&gt;
 int Team(int [10][]);&lt;br /&gt;
C:&lt;br /&gt;
 /* Function Prototypes */&lt;br /&gt;
 void Foo(void);&lt;br /&gt;
 void RainMan(int, char *);&lt;br /&gt;
 int Team(int [10][]);&lt;br /&gt;
One space in, and any function with NO parameter should specify VOID.  All &lt;br /&gt;
functions should be prototyped.  No function should come before the main.  &lt;br /&gt;
Prototypes give you a quick reference list of what functions the program uses &lt;br /&gt;
and what parameters they take.  Easier and quicker to look at a ref list like &lt;br /&gt;
the above than to have the whole place jammed with all of the functions.  Also, &lt;br /&gt;
about 0 void, this is for ANSI-compliant C compilers. &lt;br /&gt;
In the Old K&amp;amp;R C, you just had to list the name of the function, which looked &lt;br /&gt;
like:&lt;br /&gt;
 int Foo();&lt;br /&gt;
 void RainMan();&lt;br /&gt;
 int Team();&lt;br /&gt;
So, in order to clarify everything, I would list the parameter types (Even&lt;br /&gt;
void, that's an implied &amp;quot;int&amp;quot; but it's just ignored when you don't use it), but &lt;br /&gt;
I would NOT list the variable names, they are irrelevant.  Only list the types.&lt;br /&gt;
Next comes the main function.&lt;br /&gt;
C++:&lt;br /&gt;
/////////////////////////////&lt;br /&gt;
// Main Function&lt;br /&gt;
/////////////////////////////&lt;br /&gt;
 int main(void)&lt;br /&gt;
{   ...&lt;br /&gt;
   return 0;&lt;br /&gt;
}C:&lt;br /&gt;
 /* Main Function */&lt;br /&gt;
 int main(void)&lt;br /&gt;
{   ...&lt;br /&gt;
   return 0;&lt;br /&gt;
}I would indent the function 1 space and have the { ALWAYS on the following line &lt;br /&gt;
and NOT indented. Where CODE is concerned, NEVER put { on the same line as &lt;br /&gt;
anything else.  They should always be on the next line and lined up with the &lt;br /&gt;
previous one.  This is for easier following logic and 0/ending blocks.&lt;br /&gt;
MAIN should ALWAYS return an int.  Too many people are defining main as void &lt;br /&gt;
and the operating system will return a value no matter what.  0 &amp;quot;int&amp;quot; just &lt;br /&gt;
ensures that it doesn't return garbage.&lt;br /&gt;
This is retarded:&lt;br /&gt;
 int main(void) {&lt;br /&gt;
}&amp;quot;It's too hard to see logic when it's unlogical!&amp;quot;&lt;br /&gt;
The ONLY time in code that { can be on the same line is:&lt;br /&gt;
  do {&lt;br /&gt;
       ...&lt;br /&gt;
  } while(x &amp;amp;lt; 0) ;&lt;br /&gt;
And that is because it has beginning and ending words (do/while) so the do { is &lt;br /&gt;
treated as the { and the } while is treated as the }.&lt;br /&gt;
Any code block consisting of 1 instruction should not use {'s.&lt;br /&gt;
This is dumb:&lt;br /&gt;
 if(x == y)&lt;br /&gt;
 {&lt;br /&gt;
    return 0;&lt;br /&gt;
 }&lt;br /&gt;
 else&lt;br /&gt;
 {&lt;br /&gt;
    return 1;&lt;br /&gt;
 }&lt;br /&gt;
This is smart:&lt;br /&gt;
 if(x == y)&lt;br /&gt;
    return 0;&lt;br /&gt;
 else&lt;br /&gt;
    return 1;&lt;br /&gt;
There is no reason to use { } unless you have more than 2 statements, OR have &lt;br /&gt;
an if within an if-else:&lt;br /&gt;
if(x == y)&lt;br /&gt;
{  if(z == t)&lt;br /&gt;
    return 0;&lt;br /&gt;
}else&lt;br /&gt;
  return 1;&lt;br /&gt;
In the above case, the {'s } are necessary since you want the else associated &lt;br /&gt;
with the first if.  If you want it with the second if, the following is good:&lt;br /&gt;
if(x == y)&lt;br /&gt;
  if(z == t)&lt;br /&gt;
     return 0;&lt;br /&gt;
  else&lt;br /&gt;
     return 1;&lt;br /&gt;
Declaring Pointers:&lt;br /&gt;
int* x;&lt;br /&gt;
int * x;&lt;br /&gt;
int *x;&lt;br /&gt;
Which one is the correct way? They all work, but what are the pros and cons?&lt;br /&gt;
int* x, y;&lt;br /&gt;
Having the * on the type makes you think that x and y are pointers.  only x is. &lt;br /&gt;
The * isn't used on  every variable declared, they must be separate:&lt;br /&gt;
int* x, *y;&lt;br /&gt;
so, &amp;amp;lt;type&amp;gt;*  is a bad idea, it is confusing.&lt;br /&gt;
int * x;&lt;br /&gt;
The above has the same idea.  The * is floating.&lt;br /&gt;
int * x, * y;&lt;br /&gt;
It's a little &amp;quot;Spacey&amp;quot;&lt;br /&gt;
This is what I consider correct:&lt;br /&gt;
int *x;&lt;br /&gt;
You know the type is int and x is a pointer.&lt;br /&gt;
int *x, y;&lt;br /&gt;
You know x is a pointer and y is not, it's more obvious.&lt;br /&gt;
GOTO's&lt;br /&gt;
Now, everyone has been saying for a long time &amp;quot;GOTO's are Bad! Never use them!&amp;quot;&lt;br /&gt;
This is most likely true, but there are exceptions to this rule.&lt;br /&gt;
This doesn't come up often, but sometimes, SOMETIMES a goto is necessary. &lt;br /&gt;
SOMETIMES a GOTO isn't necessary, but it's a better alternative.&lt;br /&gt;
If you have to use a goto, remember these rules:&lt;br /&gt;
Rule #1 with a goto: NEVER JUMP BACKWARD.  Jumping backward is the hardest code &lt;br /&gt;
to read,&lt;br /&gt;
        you can easily replace this with a do { } while(); or other loop construct.&lt;br /&gt;
Rule #2 DO NOT JUMP FAR OR OUT OF THE FUNCTION!  Don't jump functions or jump &lt;br /&gt;
too far from the goto, this starts to create messy and unreadable code.&lt;br /&gt;
Rule #3 Make your label jump names IN ALL CAPS and make them SELF EXPLANATORY&lt;br /&gt;
i.e. don't name them X or Y  name them like  EXIT_ON_BREAK:&lt;br /&gt;
Example of when goto is useful:&lt;br /&gt;
The best example of where GOTO is useful is in a big nested loop:&lt;br /&gt;
/* Advance Every Node */&lt;br /&gt;
for(x = 0; x &amp;amp;lt; 100; x++)&lt;br /&gt;
   for(y = 0; y &amp;amp;lt; 100; y++)&lt;br /&gt;
      for(z = 0; z &amp;amp;lt; 100; z++)&lt;br /&gt;
         if(Matrix[x][y][z])&lt;br /&gt;
            goto COLLISION_EXIT;&lt;br /&gt;
         else          &lt;br /&gt;
            Matrix[x][y][z]++;&lt;br /&gt;
  &lt;br /&gt;
COLLISION_EXIT:&lt;br /&gt;
Now, you see the above (a hypothetical case) when the Matrix entry is 0, a 0 &lt;br /&gt;
has 0. Otherwise, we advance the point.  Let's just say that we want to advance &lt;br /&gt;
this matrix unless a collision has 0, then we want to just exit and destroy &lt;br /&gt;
that matrix.  You can use a flag, but as you see here:&lt;br /&gt;
/* Advance Every Node */&lt;br /&gt;
for(x = 0, Flag = FALSE; x &amp;amp;lt; 100 &amp;amp;&amp;amp; (Flag); x++)&lt;br /&gt;
   for(y = 0; y &amp;amp;lt; 100 &amp;amp;&amp;amp; (Flag); y++)&lt;br /&gt;
      for(z = 0; z &amp;amp;lt; 100 &amp;amp;&amp;amp; (Flag); z++)&lt;br /&gt;
         if(Matrix[x][y][z])&lt;br /&gt;
            Flag = TRUE;&lt;br /&gt;
         else          &lt;br /&gt;
            Matrix[x][y][z]++;&lt;br /&gt;
The above is the alternative.&lt;br /&gt;
    has to increment 3 memory locations, and perform 3 conditional tests.&lt;br /&gt;
When SPEED is of the essence, a GOTO can solve the problem, but these problems&lt;br /&gt;
do not come up a lot and this is not a license to code crap.&lt;br /&gt;
Spacing&lt;br /&gt;
for(;;)&lt;br /&gt;
for (;;)&lt;br /&gt;
I 0 the first, The second looks a little weird.&lt;br /&gt;
I also like to use ;'s and ,'s like you use them in English:&lt;br /&gt;
for(x = 1, y = 10; x &amp;amp;lt y; x++, y--) ;&lt;br /&gt;
Unless used in loops or classes&lt;br /&gt;
The above, I like to space ;'s out by 1 if it's representing a Loop or a struct &lt;br /&gt;
that's not typedef'ed.  blah, SPACE blah  I like to put spaces after ; and ,'s &lt;br /&gt;
in other normal use.&lt;br /&gt;
EVERY 0 OPERATOR SHOULD HAVE A SPACE ON BOTH SIDES!&lt;br /&gt;
x = 1;&lt;br /&gt;
NOT&lt;br /&gt;
x=1;&lt;br /&gt;
[ed. do you mean if(x == 1); NOT if(x==1);?]&lt;br /&gt;
I also like indents.  The Indents I use are more relevant to how must[ed. ?] &lt;br /&gt;
nesting will occur.&lt;br /&gt;
If there is not much nesting, I will use 3-4 spaces.  If a lot of nesting will &lt;br /&gt;
occur, depending, I will use 1-2 or 3 spaces.  I try to keep the lines of code &lt;br /&gt;
fitting on the screen.  Which means that in lines that extend over, you should &lt;br /&gt;
find a good midpoint to put on the next line, but you put them on the next line &lt;br /&gt;
INDENTED.&lt;br /&gt;
Another bit we must cover is void *'s.&lt;br /&gt;
MyThing = malloc(sizeof(char *)*20);&lt;br /&gt;
for(x = 0; x &amp;lt; 20; x++)&lt;br /&gt;
   MyThing[x] = malloc(20);&lt;br /&gt;
The above code is crap.  All void *'s should be typecast for the following reasons:&lt;br /&gt;
# Most compilers aren't completely standard.  They have OS extensions on and&lt;br /&gt;
    many will give a warning or error on not typecasting a void *.  Especially &lt;br /&gt;
    if sometime you have to compile it on a C++ compiler.&lt;br /&gt;
# More readable.  MyThing = malloc(2);  That could mean MyThing is a short *&lt;br /&gt;
    or a char * depending on the system architecture.&lt;br /&gt;
# You should always check for allocation problems.&lt;br /&gt;
The correct code:&lt;br /&gt;
C:&lt;br /&gt;
/* Allocate Pointers */&lt;br /&gt;
if(!(MyThing = (char **)malloc(sizeof(char *)*20)))&lt;br /&gt;
{    printf(&amp;quot;Not Enough Memoryn&amp;quot;);&lt;br /&gt;
    exit(0xFF);&lt;br /&gt;
}/* Allocate The Character Strings */&lt;br /&gt;
for(x = 0; x &amp;lt; 20; x++)&lt;br /&gt;
  if(!(MyThing[x] = (char *)malloc(20)))&lt;br /&gt;
  {&lt;br /&gt;
     printf(&amp;quot;Not Enough Memoryn&amp;quot;);&lt;br /&gt;
     exit(0xFF);&lt;br /&gt;
  }&lt;br /&gt;
C++:&lt;br /&gt;
// Allocate Pointers &lt;br /&gt;
if(!(MyThing = new char *[20]))&lt;br /&gt;
{    cout &amp;lt;&amp;lt; &amp;quot;Not Enough Memory&amp;quot; &amp;lt;&amp;lt; endl;&lt;br /&gt;
    exit(0xFF);&lt;br /&gt;
}// Allocate The Character Strings &lt;br /&gt;
for(x = 0; x &amp;lt; 20; x++)&lt;br /&gt;
  if(!(MyThing[x] = new char[20]))&lt;br /&gt;
  {&lt;br /&gt;
     cout &amp;lt;&amp;lt; &amp;quot;Not Enough Memoryn&amp;quot; &amp;lt;&amp;lt; endl;&lt;br /&gt;
     exit(0xFF);&lt;br /&gt;
  }&lt;br /&gt;
NOTE: C++:  &amp;quot;cout&amp;quot; can be replaced by &amp;quot;cerr&amp;quot; and&lt;br /&gt;
      C:    printf(&amp;quot;&amp;quot;) can be replaced by fprintf(stderr,&amp;quot;&amp;quot;)&lt;br /&gt;
     ** For those who want to use standard error print out procedures. **&lt;br /&gt;
Declaring a function as &amp;quot;inline&amp;quot; is something that was brought into C++.  As &lt;br /&gt;
you know though, if you do the following in a class:&lt;br /&gt;
// Class X&lt;br /&gt;
class x {&lt;br /&gt;
  public:&lt;br /&gt;
     x(void) { cout &amp;lt;&amp;lt; &amp;quot;Initialize&amp;quot; ; }&lt;br /&gt;
} ;&lt;br /&gt;
x::x() will be inline.  This I do not feel is nice coding, it mixes prototypes&lt;br /&gt;
with function definitions and makes a big mess.  I feel that you should use&lt;br /&gt;
the keyword &amp;quot;inline&amp;quot;.  &lt;br /&gt;
// Class X&lt;br /&gt;
class x {&lt;br /&gt;
  public:&lt;br /&gt;
    inline x(void);&lt;br /&gt;
} ;&lt;br /&gt;
That way, you can easily switch functions from and to&lt;br /&gt;
inline without moving around code.  Also, some people don't know that the top&lt;br /&gt;
version is inline, this way, it's explicitly shown.&lt;br /&gt;
The coding style listed above is only the opinion of the author, you can adapt &lt;br /&gt;
some of it or adapt all of it, it's left up to you how you think code should look.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;Copyright (c) 1999 By C Scene. All Rights Reserved. http://www.cscene.org&amp;lt;/tt&amp;gt;&lt;br /&gt;
[[분류:공유]]&lt;br /&gt;
[[분류:C 언어]][[분류:위키노트에서 가져온 문서]]&lt;/div&gt;</summary>
		<author><name>Utolee90</name></author>
	</entry>
</feed>