|
|
Source code |
1 2 3 |
//A.h void show(const QString s& = 0,int = 0 ); |
Quoted
error: default argument for parameter of type 'const QSring&' has type 'int'
|
|
Source code |
1 2 3 4 5 6 7 8 |
void show(const QString& s = QString::null, int i = 0 );
//or
//void show(const QString& s = QString(), int i = 0 );
// or
//void show(const QString& s = "0", int i = 0);
void show(const QString& s, int i)
{}
|