C++ non-aggregate cannot be initialized

VScode for m1配置 以及 解决non-aggregate type ‘vector<int>‘ cannot be initialized with an initializer list VScode for mac m1配置C++环境 参考 解决C++编译,non-aggregate type ‘vector’ cannot be initialized with an initializer list的问题 问题发现 写代码过程中,发现在vector初始化时,使用大括号初始化无法通过编译 vector<int> vec = {1, 2, 3, 4, 5}; 报错:non-aggregate type ‘vector’ cannot be initialized with a 阅读详情

问题复现

#include <iostream>
#include <vector>
#include <string>

using  namespace std;

int main()
{
    vector<string> msg = {"Hello", "C++", "World", "from", "VS Code", "and the C++ extension!"};

    for (const string& word : msg)
    {
        cout << word << " ";
    }
    cout << endl;
}

运行代码结果

g++ hello.cpp -o  hello 
hello.cpp:9:20: error: non-aggregate type 'vector<std::string>' (aka 'vector<basic_string<char, char_traits<char>, allocator<char> > >') cannot be initialized with an initializer list
    vector<string> msg = {"Hello", "C++", "World", "from", "VS Code", "and the C++ extension!"};
                   ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hello.cpp:11:29: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
    for (const string& word : msg)
    

解决方法

使用这个编译命令:g++ -std=c++11 hello.cpp -o hello
原因:列表初始化vector对象,属于C++11标准。因此,在使用g++进行编译的时候,需要特别开启C++11标准编译选项:-std=c++11。

GPS从入门到放弃(十七) --- 对流层延时 GPS从入门到放弃(十七) — 对流层延时 对流层概念 对流层(Troposphere)地球大气层靠近地面的一层。它同时是地球大气层里密度最高的一层,它蕴含了整个大气层约75%的质量,以及几乎所有的水蒸气及气溶胶。 对流层的下界与地面相接,上界高度随地理纬度和季节而变化,在低纬度地区平均高度为1718公里,在中纬度地区平均为1012公里,在高维度地区平均为8~9公里,并且夏季高于冬季。 卫星导航... 阅读详情

相关推荐

PLC编程进阶:结构体(UDT)与功能块(FB)的模块化实践指南

本文深入探讨了PLC编程中实现模块化的核心方法,重点解析了结构体(UDT)与功能块(FB)的协同应用。通过将零散数据封装为UDT,并将控制逻辑打包为可复用的FB,能够构建出结构清晰、易于维护和调试的PLC程序。文章结合拧紧枪、电机控制等实战案例,提供了从设计原则到分层架构的完整实践指南,旨在帮助工程师将混乱的‘面条式’代码改造为高效的‘正规军’。

s3t4u的博客 221

关于C++ non-aggregate cannot be initialized错误的解决

翻阅有关资料,发现列表初始化vector对象,属于C++11标准。因此,在使用g++进行编译的时候,需要特别开启C++11标准编译选项:-std=c++11。

shiqifa的博客 2568

52页PPT智慧矿山数字化工业大数据平台建设方案

致力于为煤炭企业构建“全”、“统”、“通”、”智”的(大数据平台/数据中台)体系,基于“数字新基建”时代的数据价值思考,构建全域数字化矿区共享能力中心,助力煤炭企业实现数字化转型,打通底层系统之间数据壁垒,加强公司整体管理和安全生产系数,为运营提供数据统筹模型,实现重点数据实时监控和数据共享开放服务。综上所述,智慧矿山数据治理是一个系统性的工程,需要煤炭企业内各部门连同行业和政府监管部门通力协作,制定数据标准和管理规范,重塑煤炭企业数据架构和数据传输链路,打通智慧矿山数据壁垒,保障数据质量和数据安全。

zuoan1993的博客 1055

map<string,int>

#include <map> #include <string> #include <iostream> using namespace std; int main() { map<string, string> strings; strings["key"] = 88; // surprisingly compiles //map<string, string>::mapped_type s = 88; /...

It is me 的博客 4464

【Godot4自学手册】第一节配置Godot运行环境

Godot是一款自由开源、由社区驱动的 2D 和 3D 游戏引擎!它是一款功能丰富的跨平台游戏引擎,可以通过统一的界面创建 2D 和 3D 游戏。它提供了一套全面的通用工具,因此用户可以专注于制作游戏,而无需重新发明轮子。游戏可以一键导出到多个平台,包括主流的桌面平台(Linux、macOS、Windows)、移动平台(Android、iOS)、基于 Web 的平台以及主机平台。

zhaoyang314的博客 5984

基于单片机负载控制的无人机电气设备监测系统设计

为深入分析无人机电气设备的电子负载性能,实现对传输电子量的合理性监管与控制,设计基于单片机负载控制的无人机电气设备监测系统;利用电气信号发生电路,构建负载网络控制器与以太网模块运行所需的电气设备负载环境,借助PCB监控板建立PLC扩展负载模块与核心监控主机之间的物理连接关系,实现无人机电气设备监测系统的硬件执行环境搭建;在此基础上,通过STM32型单片机移植协议,确定无人机电气设备通信主机的现有组态形式,联合已设定的监控任务有线级条件,实现监测系统的软件执行环境搭建,完成基于单片机负载控制的无人机电气设备监

weixin_45905610的博客 1300

Error:non-aggregates cannot…

initializer   list可以初始化两种类型  1   array类 像int   a[5]={0};  2   没有construct   ,private   ,protected   成员且没基类的uion   ,struct,class。    myClass有private使就不符合条件 备注:并且其成员也应该满足这样的条件。例如,如果结构体定义为 struct _feeS

zxg519的专栏 1008

【AI大模型应用开发实战】大型语言模型评估指南白皮书(LLM Eval)

近年来,大型语言模型(LLM)在自然语言处理领域取得了重大进展,例如 GPT-3 和 Chat-GPT。这些模型经过大型数据集的训练,在文本相关任务中表现出卓越的能力,甚至超越了人类。本文将简要介绍如何验证 LLMs 性能的评估指标。自然语言处理(NLP)是人工智能的一个领域,涉及计算机和人类语言之间的交互。NLP 的基本任务之一是语言建模 (LM),它涉及构建统计模型来分析和生成自然语言。LM 已成为推进机器语言智能的关键方法,使机器能够执行机器翻译、情感分析和对话系统等任务。

AI天才研究院 1013

对于vector初始化的问题

今天看c++ primer,有一段vector的初始化的这样用的 vector ilist={1,2,3,4,5,6}; 我放到vs2010试了一下发现报错non-aggregates cannot be initialized with initializer list 意思是对于non-aggregates(非聚合对象),不能使用初始化列表。只有聚合对象才可以这样使用。后来查了一下,这是

as14569852的博客 1410

【C语言趣味教程】(0) 专栏介绍

这是一套C 语言趣味教学专栏,目前正在火热连载中,欢迎猛戳订阅!本专栏保证篇篇精品,继续保持本人一贯的幽默式写作风格,当然,在有趣的同时也同样会保证文章的质量,旨在能够产出"有趣的干货" !本系列教程不管是零基础还是有基础的读者都可以阅读,可以先看看目录!标题前带星号 (*) 的部分不建议初学者阅读,因为内容难免会超出当前章节的知识点,面向的是对 C 语言有一定基础或已经学过

有道无术, 术尚可求。有术无道, 止于术。 2万+

24届数字IC设计/验证秋招总结贴——先看这个

为方便快速进行查找该专栏的内容,将所有内容链接均放在此篇博客中整理不易,欢迎订阅~~

qq_42135020的博客 8415

出现错误 non-aggregate type ... cannot be initialized with an initialize

使用opencv进行图像傅里叶变换时,遇到错误: 其实就是C++版本的问题,使用了98版本出现了这个问题,只要在cmakelists.txt文件中添加上c++11编译选项就行了 add_compile_options(-std=c++11) ...

Keeplearning 2593

从 OA 门户到 SAP 的单点登录全景解析

OA(Office Automation)门户往往已与企业身份证明源(Microsoft Entra ID、LDAP 等)集成。管理员希望:员工在 OA 登陆后访问 SAP Fiori Launchpad、OData API 或 RFC 接口时无需再次输入账号密码,而 SAP 仍能识别用户身份并执行基于角色的授权。此时 OA 可以直接充当 IdP,也可以把企业 IdP 发放的令牌转发给 SAP 充当 SP(service provider)。SAP Help Portal 将这类跨系统认证称为 single

2007 年 ~ 2025 年,深耕 SAP 技术 18 年 999

C++编译报错 non-aggregate cannot be initialized with an initializer list

问题出在g++编译的标准上。Mac的编译器默认是只支持C++98的标准的 因此,系统不出错的方法就是更换标准,具体方法如下: g++ a.cpp 改为 g++ -std=c++11 a.cpp 如果觉得这样很繁琐,可以直接将该命令简化为g++: echo "alias g++='g++ -std=c++11'" >> ~/.bash_profile" 这样以后输入g++就相当于输入g++ -std=c++11 a.cpp了 ...

Xurui_Luo的博客 7558

大中型超市收银系统(可直接运行)

光步前台收银系统系统功能:商品销售、商品退货、挂单、收银员权限、会员销售、单品取消、整单取消、商品查询、脱机销售、脱机数据上传,基本资料下载,开钱箱、小票打印、收款结算,支持多币种付款方式(现金、储值卡、礼券、微信等),支持多种促销。运行环境:.net 4.0登陆信息用户名:1001 密码:123456内置商品信息,商品编码可输入00001000 - 00010000,测试效果相关功能键F5 结算 F9挂单 F11商品查询 F8退货 Insert单品取消 Del整单取消 F12开钱箱F2 会员 Ctrl+Z退出系统 Home 锁屏 相关源码待公开

温度PID控制PLC程序

温度PID稳定控制程序,适用于欧姆龙PLC,对其他PLC也具有很大参考价值

C++98 vector初始化失败,报错——error: non-aggregate type 'vector<int>' cannot be initialized with an initiali

使用第三种方法成功解决 //默认初始化,不带参数的构造函数初始化 vector<int> vec_i; //带参数的构造函数初始化 vector<int> vec_i(10); //初始化10个默认值为0的元素 vector<int> vec_i(10,1);//初始化10个值为1的元素 //通过数组地址初始化 int a[5]={1,2,3,4,5}...

会飞的猪的博客 4747

TMS_WebGMaps_1.9.8.0_Full_Source

TMS_WebGMaps_1.9.8.0_Full_Source 全源码 delphi cbuilder

vector初始化报错cannot be initialized with an initializer list

c++ 98中不允许在初始化vector容器时指定初始化元素值,如下: vector<int> vec_i = {1,2,3,4} 编译会报错,如下: error: non-aggregate type 'vector<int>' cannot be initialized with an initializer list 但是c++ 11中是允许这样操作的。 ...

请叫我皮皮虾的博客 4820

深度学习工具包 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")

vector 无法通过列表初始化 (m2 mac + code runner / g++)

解决报错 non-aggregate type 'vector' cannot be initialized with an initializer list

Nesb01t is here. 1574

non-aggregates(非聚合)对象不能使用初始化列表

non-aggregates cannot be initialized with initializer list 这个错误。 来源: 假设定义这样一个结构体 struct T_A { int iX; int iY; T_A() { iX = iY = 0; } }; 以下使用的初始化方法 T_A tA = { 2, 1 }; 则会报出non-aggregates c

duanwuqing的专栏 1万+

Flutter集成本地LLM:构建离线智能电子书阅读器全流程

大语言模型(LLM)作为人工智能的核心技术,通过在海量文本数据上训练,能够理解和生成人类语言。其工作原理基于Transformer架构,通过自注意力机制捕捉长距离依赖关系。在技术价值上,LLM实现了强大的自然语言处理能力,尤其在文本理解、生成和推理任务中表现出色。应用场景广泛,从智能客服到内容创作均有涉及。然而,云端部署的LLM存在网络依赖、延迟和隐私风险。为此,边缘计算和模型量化技术应运而生,它们将模型部署到终端设备,实现本地推理。本文聚焦于如何利用Flutter框架和llama.cpp推理引擎,在移动端

weixin_30326741的博客 338

Error:non-aggregates cannot be initialized with initializer list_拔剑-浆糊的传说_新浪博客...

initializer list可以初始化两种类型 1 array类 像int a[5]={0}; 2 没有construct ,private ,protected 成员且没基类的uion ,struct,class。 myClass有private使就不符合条件 备注:并且其成员也应该满足这样的条件。例如,如果结构体定义为 struct ...

拔剑—浆糊的传说 500

第 6 章

6.1 【出题思路】 函数名、返回值、参数三者组成了函数,其中参数分为实参和形参。 【解答】 形参出现在函数定义的地方,形参列表可以包含 0 个、1 个或多个形参,多个形参之间以逗号分隔。形参规定了一个函数所接受数据的类型和数量。 实参出现在函数调用的地方,实参的数量与形参一样多。实参的主要作用是初始化形参,并且这种初始化过程是一一对应的,即第一个实参初始化第一个形参、第二个实参初始化第二个形参,...

weixin_30828379的博客 152

MCP的第一性原理:从工具调用到能力协议

这篇文章是MCP(Model Context Protocol)开发指南的摘要。MCP是一个用于连接AI模型与外部工具/服务的开放协议标准,由Anthropic提出。 主要内容包括: MCP协议概述 解决了AI应用与外部服务集成标准化问题,类似USB-C统一接口 采用Host-Server架构,支持双向通信 提供Tools(可调用操作)、Resources(可读取数据)、Prompts(提示词模板)三类能力 快速入门指南 提供5分钟快速上手指南 包含Python SDK安装和"Hello World"

sinat_28228747的博客 433

[Error] cannot pass objects of non-trivially-copyable type 'std::string {aka class std::basic_string

[Error] cannot pass objects of non-trivially-copyable type 'std::string {aka class std::basic_string&amp;lt;char&amp;gt;}' through '...' 1. 报错 [Error] cannot pass objects of non-trivially-copyable type 'std::...

说文科技,做有态度的研究。 1万+

使用std::vector容器中犯的一个错误

类似std::vector&lt; int*&gt;* vpInt; 这种声明需要注意的地方 当使用下列方式声明一个包含了指针元素(其实不一定是指针元素)的容器指针时 std::vector&lt;int*&gt;* vpInt=new std::vector&lt;int*&gt; int num=8,tmp=7; vpInt-&gt;push_back(&amp;int); vpInt...

少年磊的博客 1万+

c++ 学习错误列表

c++ primer学习过程中调试常见错误归纳 这是学习c++ primer过程中练习程序时,调试时出现的错误即解决方法列表,不断更新。 No.1: prog2.cpp(8) : error C2664: '__thiscall std::list >::std::list >(unsigned int,const int &, const class std::allocator

王定桥的专栏 4万+

error: cannot pass objects of non-trivially-copyable type ‘std::string {aka class std::basic_string

报错cannot pass objects of non-trivially-copyable type 'std::string {aka struct std::basic_string}' through '...' 解决方法: 在使用时候 加入c_str()

farmwang的专栏 1万+
上一篇: mac c++ clion mysql
下一篇: c++ gtest入门
vive921
博客等级 码龄8年 10粉丝 25原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

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

抵扣说明:

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

余额充值