求解双引号与单引号,要么empty要么 too mang

qiu'jie

 //编写一个程序输出用*组成的菱形图案
#include<iostream>
#include<iomanip>
using namespace std;
void main(){
    cout<<setw(16)<<'*'<<endl;
    cout<<setw(17)<<'***'<<endl;
    cout<<setw(18)<<'****'<<endl;
    cout<<setw(19)<<''******''<<endl;//单引号还是双引号?
    cout<<setw(20)<<''*********''<<endl;
    cout<<setw(19)<<''*******''<<endl;
    cout<<setw(18)<<''*****''<<endl;
    cout<<setw(17)<<''***''<<endl;
    cout<<setw(16)<<''*''<<endl;
}

“双引号”不是两个单引号,而是Shift+单引号!而且前面三行应该用双引号。