c++之友元

C++ 友元(Friend)详解 在 C++ 中,一个类可以将另一个类的成员函数或者全局函数声明为友元(friend)。这样,友元函数可以直接访问该类的私有成员和保护成员,就像该类的成员函数一样。💡友元并不是继承关系,它只是授予其他函数或类一定程度的权限。简单来说,友元就像是“特权成员”,能够访问一个类的私有部分,拥有“超能力”!😎友元函数是在类内部声明的外部函数。它可以访问该类的私有和保护成员。通常我们会把友元函数声明为friend,并且它通常是全局函数或其他类的成员函数。private:public:// 声明友元函数。 阅读详情

1.为什么要引用友元

提高程序运行效率,既减少了类型和安全性检查及调用时间的开销,但它破坏了类的封装型和隐藏性,使得非成员函数可以访问类的私有成员。

2.使用场景

1)运算符重载的某些场合;

2)2个类要共享数据

3)异类若想要访问private的数据,必须声明为友元

3.使用友元函数

友元函数是在类中使用关键字friend修饰的非成员函数。

由于友元函数不是成员函数,所以不存在this指针,必须通过对象来访问。

友元仅是打破了外部访问中的private的权限。A声明为B的友元,A就可以通过B的对象访问B的私有成员。

1)要访问非static成员,需要对象做参数;

2)要访问static成员或全局变量,则不需要对象做参数;

3)如果做参数的对象是全局对象,则不需要对象做参数;

友元函数的位置

        是类外函数,所以它的声明可以放在类的私有段或公有段且没有区别。

友元函数的调用

        可以直接调用友元函数,不需要通过对象或指针。

4.实战

4.1 普通函数做友元函数

class Pos
{
public:
    friend Pos MovePos(Pos &current, Pos &move);

    Pos(int x=0, int y=0, int angle=0)
        :m_x(x)
        ,m_y(y)
        ,m_angle(angle)
    {}
    ~Pos()
    {}


    void PrintPos()
    {
        cout << "current pos : ( " << m_x << ", " << m_y << ", " << m_angle << ")" << endl;
    }

private:
    int m_x;
    int m_y;
    int m_angle;
};

Pos MovePos(Pos &current, Pos &move)
{
    Pos temp;
    temp.m_x = current.m_x + move.m_x;
    temp.m_y = current.m_y + move.m_y;
    temp.m_angle = current.m_angle + move.m_angle;
    return  current;
}
int main()
{
    Pos one(1,2,3);
    Pos two(10,20,30);
    Pos three = MovePos(one,two);

    three.PrintPos();
    return 0;
}

4.2 成员函数做友元函数

1)友元函数是其它类的成员函数

2)必须先定义包含成员函数的类(比如说A),再在另外一个类(比如说B)中将该成员函数声明为友元函数。此时虽然这个友元函数是A的成员函数,该友元函数仍然称为非成员函数(对于B来说)

前向声明:是一种不完全的类型(incomplete type)声明,即只需要提供类名(无需提供实现)即可。

特点:

1)不能定义对象

2)仅可用于定义指向这个类型的指针或引用

3)仅用于声明不是定义,仅可以作为形参类型或函数的返回值类型(定义在类外实现)

#include <iostream>
#include <cmath>
using namespace std;
 
 
//前向引用声明,否则报错 error: 'Point' does not name a type
class Point;
 
class Line{
public:
    //这时不能使用这样的形式进行初始化:Line(Point p1,Point p2):p1(p1),p2(p2){}
    //因为此时Point的结构尚未定义,error: field 'p1' has incomplete type
    Line(Point p1,Point p2);
    Point& getP1(); //把引用当做函数返回值
    Point& getP2();
    float dist();
private:
    //不可以这样定义成员变量:Point p1,p2;因为此时Point结构尚不完善
    Point &rp1,&rp2;//类(引用)的组合
    //这里也可以用Point *rp1, *rp2;
    //这样在构造函数时,可以不用传入Point的对象,而是在Line的构造函数中动态分配内存
    //即
    Line(int x, int y, int y, int y1){
        rp1 = new Point(x, y);
        rp2 = new Point(x1, y1);
    }
 
};
 
class Point{
public:
    Point(int x = 0,int y = 0):x(x),y(y){}
    int getX(){ return x;}//内联函数
    int getY(){ return y;}
    void showData();
    //声明友元成员函数
    friend float Line::dist();
private:
    int x,y;
};
 
void Point::showData(){
    cout << "x: " << x << ", y: " << y << endl;
}
 
//Line类函数的延迟实现开始
 
//当一个类的成员变量是引用时,需要在初始化列表中初始化引用
//否则报错:error: uninitialized reference member
Line::Line(Point p1,Point p2):rp1(p1),rp2(p2){}
Point& Line::getP1(){
     return rp1;
}
Point& Line::getP2(){
     return rp2;
}
float Line::dist(){
    double x = rp1.x - rp2.x;
    double y = rp1.y - rp2.y;
    return static_cast<float>(sqrt(x*x + y*y));
}
//Line类函数的延迟实现结束
 
 
int main()
{
    Point p1(1,1),p2(4,5);
    p1.showData();
    p2.showData();
    Line line(p1,p2);
    cout << "the distance is : " << line.dist() << endl;
    return 0;
}

4.3 友元类

#include <iostream>
#include <cmath>
using namespace std;
 
class Point{
public:
    Point(int x = 0,int y = 0):x(x),y(y){}
    int getX(){ return x;}//内联函数
    int getY(){ return y;}
    void showData();
    //声明友元类,否则编译不通过,error: 'int Point::x' is private
    friend class Line;
private:
    int x,y;
};
 
void Point::showData(){
    cout << "x: " << x << ", y: " << y << endl;
}
 
 
class Line{
public:
    Line(Point p1,Point p2):p1(p1),p2(p2){}
    Point getP1(){ return p1;}
    Point getP2(){ return p2;}
    float dist();
private:
    Point p1,p2;//类的组合
};
 
float Line::dist(){
    double x = p1.x - p2.x;
    double y = p1.y - p2.y;
    return static_cast<float>(sqrt(x*x + y*y));
}
 
int main()
{
    Point p1(1,1),p2(4,5);
    p1.showData();
    p2.showData();
    Line line(p1,p2);
    cout << "the distance is : " << line.dist() << endl;
    return 0;
}

5.友元性质

1)友元关系是不能传递的,如A是B的友元,B是C的友元,但A不是C的友元

2)友元关系是单向的,A是B的友元,A可以访问B的私有属性,反之不成立

3)友元关系是不被继承的,A是B的友元,但A的派生类不是B的友元

C++之友元(Friend)用法总结 目录 一.引言 二.友元(Friend)与类之间的关系  2.1 同类间无私处  2.2异类间有友元  2.3友元不是成员 三.友元函数(Friend fucntion) 3.1全局函数做友元 3.2成员函数做友元 3.3类做友元(Friend class) 四.总结 4.1声明位置 4.2友元利弊 4.3注意事项 一.引言 最常见的获取数据成员的方式就是Set方法和... 阅读详情

相关推荐

C++学习之友元

在C++中,友元(friend)是一种特殊的关系,允许一个类或函数访问另一个类的私有成员。通过使用友元关键字,我们可以实现对其他类的私有成员的访问。友元可以是一个类或函数,在提供存取权限时,不需要通过类的公有接口来访问私有数据。这对于某些特殊情况下需要访问类的私有成员而无需打破封装性的代码是非常有用的。在C++中,友元的声明必须在类中进行,在类的声明中,可以使用friend关键字声明其他类或函数为友元。被声明为友元的类或函数可以自由地访问该类的私有成员。

百锦再的博客 1万+

C++友元详解

友元介绍

m0_73803550的博客 8082

modbus

从机地址 功能码 起始地址高位 起始地址低位 数量高位 数量低位 字节数 0001H高位 0001H低位 0002H高位 0002H低位 CRC高位 CRC低位。每个输入寄存器的长度为2个字节。其中,CDH对应线圈0013H到001AH的内容,01H对应线圈001B到001CH的内容,未使用位用0填充。从机地址 功能码 起始地址高位 起始地址低位 寄存器数量高位 寄存器数量低位 CRC高位 CRC低位。从机地址 功能码 起始地址高位 起始地址低位 寄存器数量高位 寄存器数量低位 CRC高位 CRC低位。

lunhuicnm的博客 9765

C++——友元 & 内部类

1. 友元函数 友元函数可以直接访问类的私有成员,它是定义在类外部的普通函数,不属于任何类,但需要在类的内部声明,声明时需要加friend关键字 举例: class Date { friend ostream& operator<<(ostream& _cout, const Date& d); friend istream& operator>>(istream& _cin, Date& d); public: Dat.

m0_46657980的博客 1275

方案设计之亿级排行榜方案设计

该方案通过 “Redis Zset 为核心 + 分治策略为骨架 + 多级优化为细节”,在亿级用户场景下实现了:本质是将 “亿级大问题” 拆解为 “千万级小问题”,用分布式思想和精细化设计平衡性能、可用性与成本。

shine0312的专栏 1100

手把手教你用Apollo Dreamview调试自动驾驶感知模块(附数据包下载)

本文详细介绍了如何使用百度Apollo平台的Dreamview工具调试自动驾驶感知模块,包括环境配置、数据加载、感知问题定位和多传感器融合调试等关键步骤。通过实战案例和参数调整技巧,帮助开发者快速掌握自动驾驶感知模块的调试方法,提升开发效率。

weixin_29084111的博客 142

C++:友元(看这一篇就够了)

本文介绍了C++友元,包括为什么使用友元,怎样使用友元以及友元的三种实现

孙悟空 8万+

esp32 python开发环境搭建_eclipse esp32开发环境搭建

安装方法基本是按照官网提供的方法来操作https://github.com/espressif/idf-eclipse-plugin#GettingStarted但是官网的方法安装之后还是不能编译成功的,第一次编译会出现一下问题问题1:Building in: E:\eclipse-workspace\helloworlk\buildcmake -G Ninja -DCMAKE_TOOLCHAIN...

weixin_39978276的博客 1264

C++之友元

一般情况下应当把类的数据成员设置为private以限制外部的访问。不过这样也有局限性,必须为所有外部可能用到的变量添加存取函数(Set、Get),即使只有一个外部函数会用到这个成员变量。因此可以适当地让某些外部函数可以访问私有变量。在某些情况下,允许特定的非成员函数访问一个类的私有成员,同时阻止一般的访问,这就是友元。友元机制允许一个类将其非公有成员的访问权限授予指定的函数或类。友元的声明以关键字friend开始,它只能出现在类定义的内部。友元的声明可以出现在类的任何地方,并且不受访问控制的权限的影响。

m0_51415606的博客 793

高级图像增强——模拟雨天,雾,雪,阳光,阴影,运动模糊,畸变等14种效果,同步扩充标签文件

本文提供了一些高级的,特殊的图像增强方法,具体包括、光。

Limiiiing的博客 1308

openpi 入门教程(一)安装、训练、微调与推理

OpenPI是由物理智能团队发布的机器人开源模型和软件包,包含两种主要模型:基于流的扩散视觉-语言-动作模型(VLA)的π₀模型和基于FAST动作标记器的自回归VLA的π₀-FAST模型。这些模型已在超过10,000小时的机器人数据上进行了预训练,并提供了基础模型检查点,支持开箱即用或根据用户数据集进行微调。OpenPI的实验性质意味着它可能不适用于所有平台,但鼓励研究人员和从业者进行创造性实验。运行这些模型需要至少具备NVIDIA GPU,推荐使用RTX 4090或更高规格的显卡。OpenPI支持在Ubu

2506_90492529的博客 5113

C++之友元成员

C++类中的友元成员友元成员分类:1.友元函数2.友元成员函数3.友元类 友元成员分类: 1.友元函数 如果把一个独立函数说明为类的友元,则该函数成为类的友元函数,友元函数可以访问类的私有变量。 一般模板为:friend 函数原型声明;示例如下: #include <iostream> using namespace std; class student{ private: int id,score; char *name; public: void play_informati

CYH00_的博客 922

【项目解析】2KW 230V 数字逆变器控制系统(二)

【项目解析】 2KW 230V 数字逆变器控制系统(一) 项目的 交流输出电压 并不是单纯一个电压环就能控制好的,而是典型的 双环控制架构:最终占空比控制量会经过计算: 然后写入 单片机 TMM 定时器的比较寄存器 (TMGRA0/TMGRD0/TMGRC1), → 定时器输出互补 PWM, → 驱动 IGBT 全桥, → 经过 LC 滤波形成 230 VAC / 50Hz 的正弦电压。总结交流电压是双环控制的结果:目标/作用:把输出 RMS 电压稳到目标(例如 230 VAC);在母线波动与负载变化下

Naiva的博客 1300

C++之友元的学习总结

一、友元的概念:1、什么是友元?友元是c++中的一种关系友元关系发生在函数与类之间或者类与类之间友元关系是单项的,不能传递2、友元的用法:在类中以friend关键字声明友元类的友元可以是...

Dada_ping的博客 340

web渗透--9--识别web应用框架

1、概述 Web框架指纹识别是信息收集过程中的一个重要任务。获悉目标框架的类型必然为测试人员带来极大的优势,如果该框架在之前就被测试过。测试人员不仅可以获得未修补版本中存在的漏洞,还可以了解此框架中特有的错误配置以及已知的文件结构。从而使指纹识别过程显得格外重要。

武天旭的博客 5101

文档:亲测可用解决vnc灰屏,黑屏,鼠标大黑叉情况

主要解决vnc-viewer灰屏,黑屏,鼠标大黑叉等现象,详细见文档。

C++ 之友元

友元 在程序中,有些私有属性也想让类外特殊的一些函数或者类进行访问,就需要用到友元的技术。 友元机制允许一个类将对其非公有成员的访问权授予指定的函数或者类,友元的声明以friend开始,它只能出现在类定义的内部,友元声明可以出现在类中的任何地方。 友元的三种实现:1)全局函数做友元;2)类做友元;3)成员函数做友元 一. 友元函数(全局函数做友元) 友元函数是指某些虽然不是类成员函数却能够访问类的所有成员的函数。类授予它的友元特别的访问权,这样该友元函数就能访问到类中的所有成员。 #include <

pangyushuang的博客 211

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

C++之友元浅析

文章目录一 . 友元的目的二 . 友元的三种实现1 . 全局函数做友元2 . 类做友元3 . 成员函数做友元 一 . 友元的目的 让一个函数或者类 访问另一个类中私有成员 友元的关键字为 friend 二 . 友元的三种实现 1 . 全局函数做友元 #include <iostream> using namespace std; class Building { //告诉编译器 goodGay全局函数 是 Building类的好朋友,可以访问类中的私有内容 frien

lovelyGFR的博客 227

最新的sdio 4.0 spec 协议标准 带书签 高清完整PDF版

Part-E1-SDIO-Specification-Ver4.00-Final-120220.pdf:最新的sdio 4.0 spec 协议标准 带书签 高清完整PDF版,包括SDIO 接口的外设,SDIO 接口官方协议等。

SAP B1中文培訓教材_SDK

公司内部培训资料,对开发工具 ,DIAPI, UIAPI,Add-ON有详细解说

上一篇: git日常操作
下一篇: 小行星碰撞(c++ 栈的应用)
Tobiu
博客等级 码龄10年 51粉丝 87原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值