MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Podręcznik Użytkownika Strona 273

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 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
Przeglądanie stron 272
1 2 ... 268 269 270 271 272 273 274 275 276 277 278 ... 353 354

Komentarze do niniejszej Instrukcji

Brak uwag