<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:series="https://publishpress.com/"
	>

<channel>
	<title>C++ this Pointer</title>
	<atom:link href="https://melec.ir/tag/c-this-pointer/feed/" rel="self" type="application/rss+xml" />
	<link>https://melec.ir/tag/c-this-pointer/</link>
	<description>آموزش الکترونیک,آموزش رزبری پای,آموزش راه اندازی ماژول و سنسور,آموزش آردوینو,نرم افزار های الکترونیک, طراحیPCB,برنامه نویسی میکروکنترلرها ARM AVR PIC FPGA</description>
	<lastBuildDate>Thu, 25 Jun 2020 09:10:14 +0000</lastBuildDate>
	<language>fa-IR</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://melec.ir/micromilad/wp-content/uploads/2016/02/logo-1.png</url>
	<title>C++ this Pointer</title>
	<link>https://melec.ir/tag/c-this-pointer/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>اشاره‌گر this در ++C</title>
		<link>https://melec.ir/%d8%a7%d8%b4%d8%a7%d8%b1%d9%87%e2%80%8c%da%af%d8%b1-this-%d8%af%d8%b1-c/</link>
					<comments>https://melec.ir/%d8%a7%d8%b4%d8%a7%d8%b1%d9%87%e2%80%8c%da%af%d8%b1-this-%d8%af%d8%b1-c/#respond</comments>
		
		<dc:creator><![CDATA[احسان پناهی]]></dc:creator>
		<pubDate>Thu, 23 Jul 2020 06:40:38 +0000</pubDate>
				<category><![CDATA[برنامه نویسی]]></category>
		<category><![CDATA[آموزش زبان ++C]]></category>
		<category><![CDATA[آموزش برنامه نویسی c++ به زبان ساده]]></category>
		<category><![CDATA[آموزش برنامه نویسی c++ از مبتدی تا پیشرفته]]></category>
		<category><![CDATA[آموزش گام به گام برنامه نویسی به زبان ++c]]></category>
		<category><![CDATA[C++ PROGRAMMING]]></category>
		<category><![CDATA[c++ programming language]]></category>
		<category><![CDATA[تابع های ++C]]></category>
		<category><![CDATA[توابع ++C]]></category>
		<category><![CDATA[آموزش ابتدایی ++C]]></category>
		<category><![CDATA[C++ this Pointer]]></category>
		<category><![CDATA[اشاره‌گر this در ++C]]></category>
		<guid isPermaLink="false">https://melec.ir/?p=31176</guid>

					<description><![CDATA[<p>در این جلسه به بررسی اشاره‌گر this در ++C میپردازیم. هر شی در ++C از طریق یک اشاره‌گر مهم به نام this، به آدرس خودش دسترسی دارد. اشاره‌گر this یک پارامتر ضمنی برای همه توابع عضو شی می‌باشد. بنابراین، درون یک تابع عضو، از this برای اشاره  به شی می‌توان استفاده کرد. توابع دوست، اشاره‌گر this ندارند، زیرا این توابع، عضو کلاس محسوب نمی‌شوند، تنها توابع عضو هستند که دارای اشاره‌گر this می‌باشند. مثال زیر را برای درک بهتر مفهوم اشاره‌گر this مشاهده کنید. #include &#60;iostream&#62; using namespace std; class Box { public: // Constructor definition Box(double l = 2.0, double b = 2.0, double h = 2.0) { cout &#60;&#60;"Constructor called." &#60;&#60; endl; length = l; breadth = b; height = h; } double Volume() { return length * breadth * height; } int compare(Box box) { return this-&#62;Volume() &#62; box.Volume(); } private: double length; // Length of a &#8230;</p>
<p>برای مشاهده این مطلب بصورت کامل روی لینک زیر کلیک کنید:<br />
<a href="https://melec.ir/%d8%a7%d8%b4%d8%a7%d8%b1%d9%87%e2%80%8c%da%af%d8%b1-this-%d8%af%d8%b1-c/">اشاره‌گر this در ++C</a></p>
]]></description>
		
					<wfw:commentRss>https://melec.ir/%d8%a7%d8%b4%d8%a7%d8%b1%d9%87%e2%80%8c%da%af%d8%b1-this-%d8%af%d8%b1-c/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<series:name><![CDATA[cpp programming language]]></series:name>
	</item>
	</channel>
</rss>
