Sorry, but I can't find a right place in C++ manual.
In a following string:
void setYRange(QString name1, int s1, int e1, QString name2 = 0, int s2 = 0, int e2 = 0);
I do not understand the initialization:
QString name2 = 0
- If it is a string, why it is initialized with an integer?
- If it is an object reference, why it isn't initialized with NULL ?
- If it creates an object and fills it with 0 bytes, how does it know how much bytes to allocate?
Please give me just a reference to the right place in C++ manual.