你可以使用制表符(\t)来对齐这个内容。以下是使用制表符对齐的示例:
#include <iostream>
#include <string>
int main() {
std::cout << "【预上线验证提醒】se预上线进度:\n";
std::cout << "\t•\tse_download_pre\tSUCCEEDED\tcompass链接:http://yq-build03-compass.dmop.baidu.com:8081/executor?execid=437087\n";
std::cout << "\t•\tbuild_ann_souti_se_pre\tSUCCEEDED\tcompass链接:http://yq-build03-compass.dmop.baidu.com:8081/executor?execid=437176\n";
std::cout << "\t•\tbuild_ann_dbhc_se_pre\tSUCCEEDED\tcompass链接:http://yq-build03-compass.dmop.baidu.com:8081/executor?execid=437177\n";
std::cout << "\t•\tse_inverted_pre\tSUCCEEDED\tcompass链接:http://yq-build03-compass.dmop.baidu.com:8081/executor?execid=437175\n";
return 0;
}
输出结果:
【预上线验证提醒】se预上线进度:
• se_download_pre SUCCEEDED compass链接:http://yq-build03-compass.dmop.baidu.com:8081/executor?execid=437087
• build_ann_souti_se_pre SUCCEEDED compass链接:http://yq-build03-compass.dmop.baidu.com:8081/executor?execid=437176
• build_ann_dbhc_se_pre SUCCEEDED compass链接:http://yq-build03-compass.dmop.baidu.com:8081/executor?execid=437177
• se_inverted_pre SUCCEEDED compass链接:http://yq-build03-compass.dmop.baidu.com:8081/executor?execid=437175
这样,你可以使用制表符对齐每个项目的内容,并且使它们在列中保持对齐。根据需要和情况进行调整。
内容由零声教学AI助手提供,问题来源于学员提问