MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Uživatelská příručka Strana 273

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 354
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 272
1 2 ... 268 269 270 271 272 273 274 275 276 277 278 ... 353 354

Komentáře k této Příručce

Žádné komentáře