news 2026/4/24 7:04:11

C++继承与多态之继承

作者头像

张小明

前端开发工程师

1.2k 24
文章封面图
C++继承与多态之继承

继承(inheritance)机制是⾯向对象程序设计使代码可以复⽤的最重要的⼿段,它允许我们在保持原有类特性的基础上进⾏扩展,增加⽅法(成员函数)和属性(成员变量),这样产⽣新的类,称派⽣类。继承 呈现了⾯向对象程序设计的层次结构,体现了由简单到复杂的认知过程。

下⾯我们看到没有继承之前我们设计了两个类Student和Teacher,Student和Teacher都有姓名/地址/ 电话/年龄等成员变量,都有identity⾝份认证的成员函数,设计到两个类⾥⾯就是冗余的。当然他们 也有⼀些不同的成员变量和函数,⽐如⽼师独有成员变量是职称,学⽣的独有成员变量是学号;学⽣的独有成员函数是学习,⽼师的独有成员函数是授课。

代码语言:javascript

AI代码解释

lass Student { public: // 进⼊校园/图书馆/实验室刷⼆维码等⾝份认证 void identity() { // ... } // 学习 void study() { // ... } protected: string _name = "peter"; // 姓名 string _address; // 地址 string _tel; // 电话 int _age = 18; // 年龄 int _stuid; // 学号 }; class Teacher { public: void identity() { // ... } // 授课 void teaching() { //... } protected: string _name = "张三"; // 姓名 int _age = 18; // 年龄 string _address; // 地址 string _tel; // 电话 string _title; // 职称 }; int main() { return 0; }

下⾯我们公共的成员都放到Person类中,Student和teacher都继承Person,就可以复⽤这些成员,就不需要重复定义了,省去了很多⿇烦。

代码语言:javascript

AI代码解释

class Person { public: // 进⼊校园/图书馆/实验室刷⼆维码等⾝份认证 void identity() { cout << "void identity()" <<_name<< endl; } protected: string _name = "张三"; // 姓名 string _address; // 地址 string _tel; // 电话 int _age = 18; // 年龄 }; class Student : public Person { public: // 学习 void study() { // ... } protected: int _stuid; // 学号 }; class Teacher : public Person { public: // 授课 void teaching() { //... } protected: string title; // 职称 }; int main() { Student s; Teacher t; s.identity(); t.identity(); return 0; }

1.2继承的定义

下⾯我们看到Person是基类,也称作⽗类。Student是派⽣类,也称作⼦类。

类成员/继承方式

public继承

protected继承

private继承

基类的public成员

派生类的public成员

派生类的protected成员

派生类的private成员

基类的protected成员

派生类的protected成员

派生类的protected成员

派生类的private成员

基类的private成员

在派生类不可见

在派生类不可见

在派生类不可见

1. 基类private成员在派⽣类中⽆论以什么⽅式继承都是不可⻅的。这⾥的不可⻅是指基类的私有成员

还是被继承到了派⽣类对象中,但是语法上限制派⽣类对象不管在类⾥⾯还是类外⾯都不能去访问

它。

2. 基类private成员在派⽣类中是不能被访问,如果基类成员不想在类外直接被访问,但需要在派⽣类

中能访问,就定义为protected。可以看出保护成员限定符是因继承才出现的。

3. 实际上⾯的表格我们进⾏⼀下总结会发现,基类的私有成员在派⽣类都是不可⻅。基类的其他成员

在派⽣类的访问⽅式 == Min(成员在基类的访问限定符,继承⽅式),public > protected >

private。

4. 使⽤关键字class时默认的继承⽅式是private,使⽤struct时默认的继承⽅式是public,不过最好显

⽰的写出继承⽅式。

5. 在实际运⽤中⼀般使⽤都是public继承,⼏乎很少使⽤protetced/private继承,也不提倡使⽤ protetced/private继承,因为protetced/private继承下来的成员都只能在派⽣类的类⾥⾯使⽤,实 际中扩展维护性不强。

代码语言:javascript

AI代码解释

// 实例演⽰三种继承关系下基类成员的各类型成员访问关系的变化 class Person { public : void Print () { cout<<_name <<endl; } protected : string _name ; // 姓名 private : int _age ; // 年龄 }; //class Student : protected Person //class Student : private Person class Student : public Person { protected : int _stunum ; // 学号 };

1.3继承类模板

代码语言:javascript

AI代码解释

namespace a { template<class T> class stack : public std::vector<T> { public: void push(const T& x) { vector<T>::push_back(x); } void pop() { vector<T>::pop_back(); } const T& top() { return vector<T>::back(); } bool empty() { return vector<T>::empty(); } }; } int main() { bit::stack<int> st; st.push(1); st.push(2); st.push(3); while (!st.empty()) { cout << st.top() << " "; st.pop(); } return 0; }
2.基类和派⽣类间的转换

public继承的派⽣类对象 可以赋值给 基类的指针 / 基类的引⽤。这⾥有个形象的说法叫切⽚或者切

割。寓意把派⽣类中基类那部分切出来,基类指针或引⽤指向的是派⽣类中切出来的基类那部分。

基类对象不能赋值给派⽣类对象。

基类的指针或者引⽤可以通过强制类型转换赋值给派⽣类的指针或者引⽤。但是必须是基类的指针

是指向派⽣类对象时才是安全的。这⾥基类如果是多态类型,可以使⽤RTTI的dynamic_cast 来进⾏识别后进⾏安全转换

map.lpxlv.asia/Blog/17551.shtml
map.lpxlv.asia/Blog/19517.shtml
map.lpxlv.asia/Blog/97599.shtml
map.lpxlv.asia/Blog/71997.shtml
map.lpxlv.asia/Blog/31937.shtml
map.lpxlv.asia/Blog/51153.shtml
map.lpxlv.asia/Blog/11119.shtml
map.lpxlv.asia/Blog/31191.shtml
map.lpxlv.asia/Blog/53131.shtml
map.lpxlv.asia/Blog/59373.shtml
map.lpxlv.asia/Blog/15537.shtml
map.lpxlv.asia/Blog/51977.shtml
map.lpxlv.asia/Blog/95519.shtml
map.lpxlv.asia/Blog/37759.shtml
map.lpxlv.asia/Blog/15953.shtml
map.lpxlv.asia/Blog/57555.shtml
map.lpxlv.asia/Blog/95339.shtml
map.lpxlv.asia/Blog/51535.shtml
map.lpxlv.asia/Blog/35731.shtml
map.lpxlv.asia/Blog/11151.shtml
map.lpxlv.asia/Blog/71751.shtml
map.lpxlv.asia/Blog/91133.shtml
map.lpxlv.asia/Blog/31779.shtml
map.lpxlv.asia/Blog/93317.shtml
map.lpxlv.asia/Blog/75377.shtml
map.lpxlv.asia/Blog/97997.shtml
map.lpxlv.asia/Blog/77717.shtml
map.lpxlv.asia/Blog/75937.shtml
map.lpxlv.asia/Blog/93971.shtml
map.lpxlv.asia/Blog/95793.shtml
map.lpxlv.asia/Blog/95717.shtml
map.lpxlv.asia/Blog/62686.shtml
map.lpxlv.asia/Blog/86800.shtml
map.lpxlv.asia/Blog/53177.shtml
map.lpxlv.asia/Blog/35955.shtml
map.lpxlv.asia/Blog/11795.shtml
map.lpxlv.asia/Blog/33337.shtml
map.lpxlv.asia/Blog/13733.shtml
map.lpxlv.asia/Blog/22484.shtml
map.lpxlv.asia/Blog/53735.shtml
map.lpxlv.asia/Blog/86048.shtml
map.lpxlv.asia/Blog/48046.shtml
map.lpxlv.asia/Blog/40684.shtml
map.lpxlv.asia/Blog/48244.shtml
map.lpxlv.asia/Blog/80602.shtml
map.lpxlv.asia/Blog/26422.shtml
map.lpxlv.asia/Blog/26600.shtml
map.lpxlv.asia/Blog/86882.shtml
map.lpxlv.asia/Blog/62286.shtml
map.lpxlv.asia/Blog/48266.shtml
map.lpxlv.asia/Blog/57339.shtml
map.lpxlv.asia/Blog/28642.shtml
map.lpxlv.asia/Blog/02488.shtml
map.lpxlv.asia/Blog/99375.shtml
map.lpxlv.asia/Blog/15935.shtml
map.lpxlv.asia/Blog/73335.shtml
map.lpxlv.asia/Blog/02048.shtml
map.lpxlv.asia/Blog/00204.shtml
map.lpxlv.asia/Blog/95931.shtml
map.lpxlv.asia/Blog/22044.shtml
map.lpxlv.asia/Blog/82008.shtml
map.lpxlv.asia/Blog/66446.shtml
map.lpxlv.asia/Blog/88222.shtml
map.lpxlv.asia/Blog/46246.shtml
map.lpxlv.asia/Blog/48406.shtml
map.lpxlv.asia/Blog/77777.shtml
map.lpxlv.asia/Blog/68842.shtml
map.lpxlv.asia/Blog/97755.shtml
map.lpxlv.asia/Blog/17557.shtml
map.lpxlv.asia/Blog/71195.shtml
map.ftzbx.asia/Blog/99173.shtml
map.ftzbx.asia/Blog/22622.shtml
map.ftzbx.asia/Blog/39191.shtml
map.ftzbx.asia/Blog/53559.shtml
map.ftzbx.asia/Blog/46628.shtml
map.ftzbx.asia/Blog/97915.shtml
map.ftzbx.asia/Blog/04002.shtml
map.ftzbx.asia/Blog/68000.shtml
map.ftzbx.asia/Blog/08862.shtml
map.ftzbx.asia/Blog/95595.shtml
map.ftzbx.asia/Blog/37539.shtml
map.ftzbx.asia/Blog/73733.shtml
map.ftzbx.asia/Blog/11573.shtml
map.ftzbx.asia/Blog/91551.shtml
map.ftzbx.asia/Blog/86088.shtml
map.ftzbx.asia/Blog/46280.shtml
map.ftzbx.asia/Blog/71573.shtml
map.ftzbx.asia/Blog/26884.shtml
map.ftzbx.asia/Blog/68208.shtml
map.ftzbx.asia/Blog/04228.shtml
map.ftzbx.asia/Blog/26204.shtml
map.ftzbx.asia/Blog/88204.shtml
map.ftzbx.asia/Blog/40828.shtml
map.ftzbx.asia/Blog/86228.shtml
map.ftzbx.asia/Blog/11151.shtml
map.ftzbx.asia/Blog/44228.shtml
map.ftzbx.asia/Blog/64084.shtml
map.ftzbx.asia/Blog/53155.shtml
map.ftzbx.asia/Blog/91973.shtml
map.ftzbx.asia/Blog/82848.shtml
map.ftzbx.asia/Blog/26008.shtml
map.ftzbx.asia/Blog/91137.shtml
map.ftzbx.asia/Blog/79351.shtml
map.ftzbx.asia/Blog/99917.shtml
map.ftzbx.asia/Blog/57315.shtml
map.ftzbx.asia/Blog/15915.shtml
map.ftzbx.asia/Blog/71131.shtml
map.ftzbx.asia/Blog/11359.shtml
map.ftzbx.asia/Blog/15755.shtml
map.ftzbx.asia/Blog/13139.shtml
map.ftzbx.asia/Blog/13159.shtml
map.ftzbx.asia/Blog/11337.shtml
map.ftzbx.asia/Blog/77191.shtml
map.ftzbx.asia/Blog/33975.shtml
map.ftzbx.asia/Blog/55519.shtml
map.ftzbx.asia/Blog/57531.shtml
map.ftzbx.asia/Blog/39715.shtml
map.ftzbx.asia/Blog/77733.shtml
map.ftzbx.asia/Blog/97393.shtml
map.ftzbx.asia/Blog/91733.shtml
map.ftzbx.asia/Blog/73933.shtml
map.ftzbx.asia/Blog/73511.shtml
map.ftzbx.asia/Blog/75115.shtml
map.ftzbx.asia/Blog/71371.shtml
map.ftzbx.asia/Blog/97511.shtml
map.ftzbx.asia/Blog/17515.shtml
map.ftzbx.asia/Blog/19575.shtml
map.ftzbx.asia/Blog/59577.shtml
map.ftzbx.asia/Blog/97979.shtml
map.ftzbx.asia/Blog/39122.shtml
map.ftzbx.asia/Blog/59919.shtml
map.ftzbx.asia/Blog/31535.shtml
map.ftzbx.asia/Blog/37791.shtml
map.ftzbx.asia/Blog/37573.shtml
map.ftzbx.asia/Blog/79179.shtml
map.ftzbx.asia/Blog/51133.shtml
map.ftzbx.asia/Blog/33755.shtml
map.ftzbx.asia/Blog/73997.shtml
map.ftzbx.asia/Blog/59579.shtml
map.ftzbx.asia/Blog/71997.shtml
map.jauym.asia/Blog/95773.shtml
map.jauym.asia/Blog/95393.shtml
map.jauym.asia/Blog/57997.shtml
map.jauym.asia/Blog/91775.shtml
map.jauym.asia/Blog/15715.shtml
map.jauym.asia/Blog/31999.shtml
map.jauym.asia/Blog/95731.shtml
map.jauym.asia/Blog/71931.shtml
map.jauym.asia/Blog/95599.shtml
map.jauym.asia/Blog/73559.shtml
map.jauym.asia/Blog/59911.shtml
map.jauym.asia/Blog/57173.shtml
map.jauym.asia/Blog/15957.shtml
map.jauym.asia/Blog/95755.shtml
map.jauym.asia/Blog/73535.shtml
map.jauym.asia/Blog/11315.shtml
map.jauym.asia/Blog/53917.shtml
map.jauym.asia/Blog/39771.shtml
map.jauym.asia/Blog/33333.shtml
map.jauym.asia/Blog/19795.shtml
map.jauym.asia/Blog/11355.shtml
map.jauym.asia/Blog/77935.shtml
map.jauym.asia/Blog/59311.shtml
map.jauym.asia/Blog/73539.shtml
map.jauym.asia/Blog/97153.shtml
map.jauym.asia/Blog/57319.shtml
map.jauym.asia/Blog/15371.shtml
map.jauym.asia/Blog/93355.shtml
map.jauym.asia/Blog/19971.shtml
map.jauym.asia/Blog/51317.shtml
map.jauym.asia/Blog/71973.shtml
map.jauym.asia/Blog/97333.shtml
map.jauym.asia/Blog/37151.shtml
map.jauym.asia/Blog/15135.shtml
map.jauym.asia/Blog/51597.shtml
map.jauym.asia/Blog/11117.shtml
map.jauym.asia/Blog/17739.shtml
map.jauym.asia/Blog/95999.shtml
map.jauym.asia/Blog/59553.shtml
map.jauym.asia/Blog/15339.shtml
map.jauym.asia/Blog/97193.shtml
map.jauym.asia/Blog/71573.shtml
map.jauym.asia/Blog/59173.shtml
map.jauym.asia/Blog/53771.shtml
map.jauym.asia/Blog/59135.shtml
map.jauym.asia/Blog/15731.shtml
map.jauym.asia/Blog/57913.shtml
map.jauym.asia/Blog/97791.shtml
map.jauym.asia/Blog/93531.shtml
map.jauym.asia/Blog/17717.shtml
map.jauym.asia/Blog/57131.shtml
map.jauym.asia/Blog/93157.shtml
map.jauym.asia/Blog/57977.shtml
map.jauym.asia/Blog/13171.shtml
map.jauym.asia/Blog/33395.shtml
map.jauym.asia/Blog/77717.shtml
map.jauym.asia/Blog/33315.shtml
map.jauym.asia/Blog/71153.shtml
map.jauym.asia/Blog/37599.shtml
map.jauym.asia/Blog/73731.shtml
map.jauym.asia/Blog/95115.shtml
map.jauym.asia/Blog/37373.shtml
map.jauym.asia/Blog/73551.shtml
map.jauym.asia/Blog/11511.shtml
map.jauym.asia/Blog/97759.shtml
map.jauym.asia/Blog/99951.shtml
map.jauym.asia/Blog/79915.shtml
map.jauym.asia/Blog/31991.shtml
map.jauym.asia/Blog/15919.shtml
map.jauym.asia/Blog/31755.shtml
map.tldrx.asia/Blog/33731.shtml
map.tldrx.asia/Blog/33337.shtml
map.tldrx.asia/Blog/55737.shtml
map.tldrx.asia/Blog/11173.shtml
map.tldrx.asia/Blog/59593.shtml
map.tldrx.asia/Blog/31193.shtml
map.tldrx.asia/Blog/19593.shtml
map.tldrx.asia/Blog/57971.shtml
map.tldrx.asia/Blog/35331.shtml
map.tldrx.asia/Blog/15735.shtml
map.tldrx.asia/Blog/93513.shtml
map.tldrx.asia/Blog/37739.shtml
map.tldrx.asia/Blog/79775.shtml
map.tldrx.asia/Blog/95995.shtml
map.tldrx.asia/Blog/57735.shtml
map.tldrx.asia/Blog/59779.shtml
map.tldrx.asia/Blog/71959.shtml
map.tldrx.asia/Blog/15197.shtml
map.tldrx.asia/Blog/35715.shtml
map.tldrx.asia/Blog/35551.shtml
map.tldrx.asia/Blog/17173.shtml
map.tldrx.asia/Blog/35339.shtml
map.tldrx.asia/Blog/51515.shtml
map.tldrx.asia/Blog/79953.shtml
map.tldrx.asia/Blog/19975.shtml
map.tldrx.asia/Blog/39197.shtml
map.tldrx.asia/Blog/35773.shtml
map.tldrx.asia/Blog/93173.shtml
map.tldrx.asia/Blog/79133.shtml
map.tldrx.asia/Blog/19799.shtml
map.tldrx.asia/Blog/15573.shtml
map.tldrx.asia/Blog/73551.shtml
map.tldrx.asia/Blog/39593.shtml
map.tldrx.asia/Blog/39777.shtml
map.tldrx.asia/Blog/39535.shtml
map.tldrx.asia/Blog/59397.shtml
map.tldrx.asia/Blog/73133.shtml
map.tldrx.asia/Blog/77539.shtml
map.tldrx.asia/Blog/17119.shtml
map.tldrx.asia/Blog/13971.shtml
map.tldrx.asia/Blog/97511.shtml
map.tldrx.asia/Blog/39117.shtml
map.tldrx.asia/Blog/57539.shtml
map.tldrx.asia/Blog/11115.shtml
map.tldrx.asia/Blog/93773.shtml
map.tldrx.asia/Blog/19755.shtml
map.tldrx.asia/Blog/97331.shtml
map.tldrx.asia/Blog/91795.shtml
map.tldrx.asia/Blog/17153.shtml
map.tldrx.asia/Blog/95777.shtml
map.tldrx.asia/Blog/17991.shtml
map.tldrx.asia/Blog/35137.shtml
map.tldrx.asia/Blog/19557.shtml
map.tldrx.asia/Blog/11355.shtml
map.tldrx.asia/Blog/53175.shtml
map.tldrx.asia/Blog/11937.shtml
map.tldrx.asia/Blog/95591.shtml
map.tldrx.asia/Blog/37515.shtml
map.tldrx.asia/Blog/15577.shtml
map.tldrx.asia/Blog/97717.shtml
map.tldrx.asia/Blog/93535.shtml
map.tldrx.asia/Blog/93793.shtml
map.tldrx.asia/Blog/39751.shtml
map.tldrx.asia/Blog/19119.shtml
map.tldrx.asia/Blog/13911.shtml
map.tldrx.asia/Blog/37159.shtml
map.tldrx.asia/Blog/39759.shtml
map.tldrx.asia/Blog/77973.shtml
map.tldrx.asia/Blog/17353.shtml
map.tldrx.asia/Blog/57517.shtml
map.npnhj.asia/Blog/39313.shtml
map.npnhj.asia/Blog/13735.shtml
map.npnhj.asia/Blog/73771.shtml
map.npnhj.asia/Blog/57539.shtml
map.npnhj.asia/Blog/53575.shtml
map.npnhj.asia/Blog/99317.shtml
map.npnhj.asia/Blog/55177.shtml
map.npnhj.asia/Blog/75599.shtml
map.npnhj.asia/Blog/19717.shtml
map.npnhj.asia/Blog/39993.shtml
map.npnhj.asia/Blog/77719.shtml
map.npnhj.asia/Blog/77339.shtml
map.npnhj.asia/Blog/93939.shtml
map.npnhj.asia/Blog/19513.shtml
map.npnhj.asia/Blog/51335.shtml
map.npnhj.asia/Blog/17917.shtml
map.npnhj.asia/Blog/37599.shtml
map.npnhj.asia/Blog/97993.shtml
map.npnhj.asia/Blog/73157.shtml
map.npnhj.asia/Blog/51113.shtml
map.npnhj.asia/Blog/99351.shtml
map.npnhj.asia/Blog/39597.shtml
map.npnhj.asia/Blog/17935.shtml
map.npnhj.asia/Blog/57533.shtml
map.npnhj.asia/Blog/99539.shtml
map.npnhj.asia/Blog/33779.shtml
map.npnhj.asia/Blog/91997.shtml
map.npnhj.asia/Blog/17733.shtml
map.npnhj.asia/Blog/39975.shtml
map.npnhj.asia/Blog/51537.shtml
map.npnhj.asia/Blog/13137.shtml
map.npnhj.asia/Blog/37371.shtml
map.npnhj.asia/Blog/55559.shtml
map.npnhj.asia/Blog/99953.shtml
map.npnhj.asia/Blog/99553.shtml
map.npnhj.asia/Blog/77135.shtml
map.npnhj.asia/Blog/73555.shtml
map.npnhj.asia/Blog/71995.shtml
map.npnhj.asia/Blog/93517.shtml
map.npnhj.asia/Blog/15777.shtml
map.npnhj.asia/Blog/57711.shtml
map.npnhj.asia/Blog/37777.shtml
map.npnhj.asia/Blog/19795.shtml
map.npnhj.asia/Blog/71917.shtml
map.npnhj.asia/Blog/33779.shtml
map.npnhj.asia/Blog/11595.shtml
map.npnhj.asia/Blog/57999.shtml
map.npnhj.asia/Blog/91799.shtml
map.npnhj.asia/Blog/17599.shtml
map.npnhj.asia/Blog/97537.shtml
map.npnhj.asia/Blog/13975.shtml
map.npnhj.asia/Blog/13513.shtml
map.npnhj.asia/Blog/15371.shtml
map.npnhj.asia/Blog/73937.shtml
map.npnhj.asia/Blog/15737.shtml
map.npnhj.asia/Blog/71719.shtml
map.npnhj.asia/Blog/39339.shtml
map.npnhj.asia/Blog/71119.shtml
map.npnhj.asia/Blog/37517.shtml
map.npnhj.asia/Blog/15511.shtml
map.npnhj.asia/Blog/39315.shtml
map.npnhj.asia/Blog/53913.shtml
map.npnhj.asia/Blog/55911.shtml
map.npnhj.asia/Blog/71119.shtml
map.npnhj.asia/Blog/35155.shtml
map.npnhj.asia/Blog/99957.shtml
map.npnhj.asia/Blog/31579.shtml
map.npnhj.asia/Blog/95117.shtml
map.npnhj.asia/Blog/17339.shtml
map.npnhj.asia/Blog/35339.shtml

版权声明: 本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若内容造成侵权/违法违规/事实不符,请联系邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!
网站建设 2026/4/23 5:45:07

人物照片修复建议尺寸460-680?DDColor参数设置科学依据揭秘

人物照片修复建议尺寸460–680&#xff1f;DDColor参数设置科学依据揭秘 在老照片修复这个看似“怀旧”的领域&#xff0c;一场由AI驱动的技术革命正悄然改变着我们对历史影像的认知。一张泛黄的黑白证件照&#xff0c;只需几秒就能重获生动肤色与自然衣着色彩——这背后并非魔…

作者头像 李华
网站建设 2026/4/17 17:31:19

模型更新日志:DDColor最新版本修复了色彩偏移问题

模型更新日志&#xff1a;DDColor最新版本修复了色彩偏移问题 在数字影像修复领域&#xff0c;一张泛黄的老照片能否“复活”&#xff0c;往往取决于那微妙的一线——色彩是否自然、真实。过去&#xff0c;我们或许只能依赖专业修图师手工上色&#xff0c;耗时数小时甚至数天&a…

作者头像 李华
网站建设 2026/4/20 2:46:29

3步搞定PowerPoint LaTeX插件:让专业公式排版触手可及!

3步搞定PowerPoint LaTeX插件&#xff1a;让专业公式排版触手可及&#xff01; 【免费下载链接】latex-ppt Use LaTeX in PowerPoint 项目地址: https://gitcode.com/gh_mirrors/la/latex-ppt 还在为PPT中的数学公式排版而烦恼吗&#xff1f;PowerPoint LaTeX插件让这一…

作者头像 李华
网站建设 2026/4/17 23:36:38

终极Parquet文件查看指南:零基础实现高效数据可视化

终极Parquet文件查看指南&#xff1a;零基础实现高效数据可视化 【免费下载链接】ParquetViewer Simple windows desktop application for viewing & querying Apache Parquet files 项目地址: https://gitcode.com/gh_mirrors/pa/ParquetViewer 作为数据工程师和数…

作者头像 李华
网站建设 2026/4/23 16:08:05

AI图像修复革命:DDColor结合ComfyUI实现自动化黑白上色

AI图像修复革命&#xff1a;DDColor结合ComfyUI实现自动化黑白上色 在数字时代&#xff0c;一张泛黄的老照片可能承载着几代人的记忆。然而&#xff0c;当人们试图将这些黑白影像重新带入彩色世界时&#xff0c;往往面临一个尴尬的现实&#xff1a;专业级人工上色耗时数小时甚至…

作者头像 李华
网站建设 2026/4/22 5:25:21

Gemma 3 270M轻量版:Unsloth动态量化AI模型

Gemma 3 270M轻量版&#xff1a;Unsloth动态量化AI模型 【免费下载链接】gemma-3-270m-it-unsloth-bnb-4bit 项目地址: https://ai.gitcode.com/hf_mirrors/unsloth/gemma-3-270m-it-unsloth-bnb-4bit 导语 Google DeepMind与Unsloth联合推出的Gemma 3 270M轻量版模型…

作者头像 李华