Standard input and output

Nasza ocena:

3
Wyświetleń: 385
Komentarze: 0
Notatek.pl

Pobierz ten dokument za darmo

Podgląd dokumentu
Standard input and output - strona 1 Standard input and output - strona 2

Fragment notatki:

Standard input and output  We may still use C functions (printf etc.)  We should use C++ operators  Do not mix them! #include using namespace std; ... int a,b,c,d; cout a; cin b; cout c d;  Streams are more fault-tolerant than functions from (vide scanf() )  Streams - cin - standard input - cout - standard output - cerr - standard error output  Manipulating strings, setting precision, checking stream status, etc. - as functional as in  We should not mix C++ operators and functions ... zobacz całą notatkę

Komentarze użytkowników (0)

Zaloguj się, aby dodać komentarz