Namespace
Varianti

std::streamoff

Da cppreference.com.
< cpp‎ | io

 
 
Ingresso / libreria di output
I / O manipolatori
C-style I / O
Buffer
Original:
Buffers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_streambuf
basic_filebuf
basic_stringbuf
strstreambuf(deprecato)
Streams
Original:
Streams
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Astrazioni
Original:
Abstractions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
ios_base
basic_ios
basic_istream
basic_ostream
basic_iostream
File I / O
Original:
File I/O
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_ifstream
basic_ofstream
basic_fstream
String I / O
Original:
String I/O
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_istringstream
basic_ostringstream
basic_stringstream
Array I / O
Original:
Array I/O
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
istrstream(deprecato)
ostrstream(deprecato)
strstream(deprecato)
Tipi
Original:
Types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
streamoff
streamsize
fpos
Errore categoria interfaccia
Original:
Error category interface
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
iostream_category(C++11)
io_errc(C++11)
 
Defined in header <ios>
typedef /*unspecified*/ streamoff;
Il std::streamoff tipo è un tipo integrale con segno di dimensioni sufficienti per rappresentare la dimensione massima possibile supportata dal sistema operativo. In genere, questo è un typedef per long long.
Original:
The type std::streamoff is a signed integral type of sufficient size to represent the maximum possible file size supported by the operating system. Typically, this is a typedef to long long.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
E 'usato per rappresentare offset da posizioni di flusso (valori di std::fpos tipo). Un valore di std::streamoff -1 è anche usato per rappresentare le condizioni di errore da alcune delle funzioni I / O di libreria.
Original:
It is used to represent offsets from stream positions (values of type std::fpos). A std::streamoff value of -1 is also used to represent error conditions by some of the I/O library functions.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[modifica] Rapporti con std :: fpos

  • la differenza tra due oggetti std::fpos è un valore di tipo std::streamoff
    Original:
    the difference between two std::fpos objects is a value of type std::streamoff
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
  • un valore di std::streamoff tipo può essere aggiunto o sottratto da std::fpos ottenendo un std::fpos diverso.
    Original:
    a value of type std::streamoff may be added or subtracted from std::fpos yielding a different std::fpos.
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
  • un valore di std::fpos tipo è convertibile in modo implicito std::streamoff (i risultati della conversione in offset dall'inizio del file.
    Original:
    a value of type std::fpos is implicitly convertible to std::streamoff (the conversion results in the offset from the beginning of the file.
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
  • un valore di std::fpos tipo è costruibile a partire da un valore di tipo std::streamoff
    Original:
    a value of type std::fpos is constructible from a value of type std::streamoff
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.

[modifica] Vedi anche

rappresenta la posizione assoluta in un ruscello o di un file
Original:
represents absolute position in a stream or a file
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(classe template)
sets the input position indicator
(membro pubblico of std::basic_istream funzione) [edit]
imposta l'indicatore di posizione di uscita
Original:
sets the output position indicator
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(membro pubblico of std::basic_ostream funzione) [edit]