Home > Back-end >  C call set the size of the error ()
C call set the size of the error ()

Time:11-17

First on the code, this is a c + + primer the above case,
 ostream& Print (ostream & amp; OS, const QueryResult & amp; Qr) {
OS & lt; //print each word
For (auto m: * qr. Lines) {
OS & lt; <"(line" & lt; }
Return the OS;
}

The qr. Lines are STD: : from & lt; STD: : set Call this smart pointer type, set the size of object () function, display an error

As shown in figure

For help bosses
  • Related