MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Guida Utente Pagina 273

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 272
friend std::ostream& operator<<(std::ostream& os,
const mwString& str)
Purpose Copy contents of input string to specified ostream
C++
Syntax
#include "mclcppclass. h"
#include <ostream>
mwString str("This is a string");
std::cout << str << std::endl; //should print "This is a
//string" to standard out.
Arguments os
ostream
to copy string to.
str
String to copy.
Return
Value
The input os tream.
Description Use this operator to print the contents of an mwString to an ostr eam.
C-19
Vedere la pagina 272
1 2 ... 268 269 270 271 272 273 274 275 276 277 278 ... 353 354

Commenti su questo manuale

Nessun commento