<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>C&#43;&#43;核心 on 杨刚的个人网站</title>
    <link>https://www.ygang.top/tags/c&#43;&#43;%E6%A0%B8%E5%BF%83/</link>
    <description>Recent content in C&#43;&#43;核心 on 杨刚的个人网站</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh</language>
    <copyright>Copyright © 2018-2025 GradyYoung. All rights reserved.</copyright>
    <lastBuildDate>Fri, 19 Jan 2024 00:00:00 +0000</lastBuildDate><atom:link href="https://www.ygang.top/tags/c++%E6%A0%B8%E5%BF%83/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
      <title>1、内存分区模型</title>
      <link>https://www.ygang.top/posts/d8245fe1/f50d4583/9f11f65a/</link>
      <pubDate>Fri, 19 Jan 2024 00:00:00 +0000</pubDate>
      
      <guid>https://www.ygang.top/posts/d8245fe1/f50d4583/9f11f65a/</guid>
      <description>&lt;h2 class=&#34;relative group&#34;&gt;分区模型 
    &lt;div id=&#34;分区模型&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;
    
    &lt;span
        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100&#34;&gt;
        &lt;a class=&#34;group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline&#34; href=&#34;#%e5%88%86%e5%8c%ba%e6%a8%a1%e5%9e%8b&#34; aria-label=&#34;锚点&#34;&gt;#&lt;/a&gt;
    &lt;/span&gt;        
    
&lt;/h2&gt;
&lt;p&gt;C++程序在执行时，将内存大方向划分为&lt;strong&gt;4个区域&lt;/strong&gt;&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>2、引用</title>
      <link>https://www.ygang.top/posts/d8245fe1/f50d4583/6a3386c8/</link>
      <pubDate>Fri, 19 Jan 2024 00:00:00 +0000</pubDate>
      
      <guid>https://www.ygang.top/posts/d8245fe1/f50d4583/6a3386c8/</guid>
      <description>&lt;h2 class=&#34;relative group&#34;&gt;引用和指针的区别 
    &lt;div id=&#34;引用和指针的区别&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;
    
    &lt;span
        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100&#34;&gt;
        &lt;a class=&#34;group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline&#34; href=&#34;#%e5%bc%95%e7%94%a8%e5%92%8c%e6%8c%87%e9%92%88%e7%9a%84%e5%8c%ba%e5%88%ab&#34; aria-label=&#34;锚点&#34;&gt;#&lt;/a&gt;
    &lt;/span&gt;        
    
&lt;/h2&gt;
&lt;p&gt;(1)指针：指针是一个变量，只不过这个变量存储的是一个地址，指向内存的一个存储单元；而引用跟原来的变量实质上是同一个东西，只不过是原变量的一个别名而已。如：&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>3、面向对象</title>
      <link>https://www.ygang.top/posts/d8245fe1/f50d4583/e74edc4b/</link>
      <pubDate>Fri, 19 Jan 2024 00:00:00 +0000</pubDate>
      
      <guid>https://www.ygang.top/posts/d8245fe1/f50d4583/e74edc4b/</guid>
      <description>&lt;p&gt;C++面向对象的三大特性为：&lt;strong&gt;封装、继承、多态&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;C++认为&lt;strong&gt;万事万物都皆为对象&lt;/strong&gt;，对象上有其属性和行为，和java特别相似&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>4、文件操作</title>
      <link>https://www.ygang.top/posts/d8245fe1/f50d4583/8cb8fd73/</link>
      <pubDate>Fri, 19 Jan 2024 00:00:00 +0000</pubDate>
      
      <guid>https://www.ygang.top/posts/d8245fe1/f50d4583/8cb8fd73/</guid>
      <description>&lt;h2 class=&#34;relative group&#34;&gt;基础概念 
    &lt;div id=&#34;基础概念&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;
    
    &lt;span
        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100&#34;&gt;
        &lt;a class=&#34;group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline&#34; href=&#34;#%e5%9f%ba%e7%a1%80%e6%a6%82%e5%bf%b5&#34; aria-label=&#34;锚点&#34;&gt;#&lt;/a&gt;
    &lt;/span&gt;        
    
&lt;/h2&gt;
&lt;p&gt;程序运行时产生的数据都属于临时数据，程序一旦运行结束都会被释放&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>5、泛型编程</title>
      <link>https://www.ygang.top/posts/d8245fe1/f50d4583/7cedbb3a/</link>
      <pubDate>Fri, 19 Jan 2024 00:00:00 +0000</pubDate>
      
      <guid>https://www.ygang.top/posts/d8245fe1/f50d4583/7cedbb3a/</guid>
      <description>&lt;h2 class=&#34;relative group&#34;&gt;模板 
    &lt;div id=&#34;模板&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;
    
    &lt;span
        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100&#34;&gt;
        &lt;a class=&#34;group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline&#34; href=&#34;#%e6%a8%a1%e6%9d%bf&#34; aria-label=&#34;锚点&#34;&gt;#&lt;/a&gt;
    &lt;/span&gt;        
    
&lt;/h2&gt;
&lt;p&gt;建立通用模具，提高通用性&lt;/p&gt;</description>
      
    </item>
    
  </channel>
</rss>
