israel

**Biblioteca de programación ** **(I FSTREAM) ** Bueno yo investigue esta biblioteca porque nunca la había visto en algún programa en clases y me di ala terea de investigas sobre ella no encontré mucho pero lo suficiente para entender su función en la programación y su estructura que me pedía para evitar los espantosos errores. **Ifstream ** es el de la [|biblioteca estándar de] [|C++] [|clase] <span style="background-color: transparent; color: black; font-family: 'Arial','sans-serif'; font-size: 16px; line-height: 150%; text-align: left; text-decoration: none; vertical-align: auto;"> que proporciona una interfaz para leer los datos de archivos como secuencias de entrada. La secuencia de entrada puede abrir un archivo en el constructor, al igual que una secuencia de salida. ifstream inf("input.dat", ifstream::in); //ifstream::in is a default, so it could be omitted <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: 150%; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: black; font-family: 'Arial','sans-serif'; font-size: 16px; line-height: 150%; text-align: left; text-decoration: none; vertical-align: auto;">o después: <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: 150%; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: black; font-family: 'Arial','sans-serif'; font-size: 16px; line-height: 150%; text-align: left; text-decoration: none; vertical-align: auto;">ifstream inf; inf.open("input.dat"); <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: 150%; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: black; font-family: 'Arial','sans-serif'; font-size: 16px; line-height: 150%; text-align: left; text-decoration: none; vertical-align: auto;">Para cerrar una secuencia, uno utiliza el método close : inf.close; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: 150%; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: black; font-family: 'Arial','sans-serif'; font-size: 16px; line-height: 150%; text-align: justify; text-decoration: none; vertical-align: auto;">El destructor ifstream cerrará el archivo limpiamente así. Es perfectamente aceptable para permitir que caen fuera del ámbito sin llamar a closeel objeto de ifstream. Suele ser un estilo deseable, ya que simplifica el proceso de "limpieza" cuando se produce una excepción o de lo contrario se encuentra un error. <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: 150%; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: black; font-family: 'Arial','sans-serif'; font-size: 16px; line-height: 150%; text-align: left; text-decoration: none; vertical-align: auto;">Los objetos de esta clase mantienen internamente un puntero a un objeto <span style="background-color: transparent; color: #0000ff; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: underline; vertical-align: auto;">[|filebuf] <span style="background-color: transparent; color: black; font-family: 'Arial','sans-serif'; font-size: 16px; line-height: 150%; text-align: left; text-decoration: none; vertical-align: auto;"> que puede obtener llamando al miembro <span style="background-color: transparent; color: #0000ff; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: underline; vertical-align: auto;">[|rdbuf] <span style="background-color: transparent; color: black; font-family: 'Arial','sans-serif'; font-size: 16px; line-height: 150%; text-align: left; text-decoration: none; vertical-align: auto;">. <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: 150%; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: black; font-family: 'Arial','sans-serif'; font-size: 16px; line-height: 150%; text-align: justify; text-decoration: none; vertical-align: auto;">Ejemplos: <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">#include <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">#include <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">#include <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">using std::cin; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">using std::cout; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">using std::cerr; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">void print(std::istream& in) <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">{ <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">try{ <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">std::string tmp; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">while(1){ <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">std::getline(in,tmp); <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">tmp+='\n'; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">cout.write(tmp.c_str,tmp.length); <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">} <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">} <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">catch(std::ifstream::failure e){ <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">if(!in.eof) <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">cerr << e.what <<'\n'; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">} <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">} <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">int main(int argc,char** argv) <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">{ <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">std::ifstream in; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">in.exceptions( std::ifstream::eofbit | std::ifstream::failbit | std::ifstream::badbit ); <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">cin.exceptions( std::ifstream::eofbit | std::ifstream::failbit | std::ifstream::badbit ); <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">if(argc==1){ <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">print(cin); <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">} <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">try{ <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">for(int i=1;i<argc;i++){ <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">if(argv[i]==std::string("-")){ <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">print(cin); <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">} <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">else{ <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">in.open(argv[i]); <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">print(in); <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">} <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">} <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">} <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">catch(std::ifstream::failure e){ <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">cerr << e.what; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">} <span style="background-color: transparent; border-bottom: windowtext 1.5pt solid; border-left: medium none; border-right: medium none; border-top: medium none; color: #000000; display: block; font-family: Times New Roman; font-size: 16px; padding-bottom: 1pt; padding-left: 0cm; padding-right: 0cm; padding-top: 0cm; text-align: left; text-decoration: none; vertical-align: auto;"> <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; padding-bottom: 0cm; padding-left: 0cm; padding-right: 0cm; padding-top: 0cm; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">} <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; line-height: 115%; text-align: justify; text-decoration: none; vertical-align: auto;">Ejemplo: <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; line-height: 115%; text-align: justify; text-decoration: none; vertical-align: auto;">// ifstream constructor. <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; line-height: 115%; text-align: justify; text-decoration: none; vertical-align: auto;">#include <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">#include <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">using namespace std; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">int main { <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">ifstream ifs ( "test.txt", ifstream::in ); <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">while (ifs.good) <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">cout << (char) ifs.get; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">ifs.close; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">return 0; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; text-align: justify; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial','sans-serif'; font-size: 16px; text-align: justify; text-decoration: none; vertical-align: auto;">}
 * < <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: center; text-decoration: none; vertical-align: auto;"> <span style="background-color: transparent; color: #0000ff; font-family: Times New Roman; font-size: 16px; text-align: center; text-decoration: underline; vertical-align: auto;">[|**ios_base**]  ||<   ||< <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: center; text-decoration: none; vertical-align: auto;"> <span style="background-color: transparent; color: #0000ff; font-family: Times New Roman; font-size: 16px; text-align: center; text-decoration: underline; vertical-align: auto;">[|**iOS**]   ||<   ||< <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: center; text-decoration: none; vertical-align: auto;"> <span style="background-color: transparent; color: #0000ff; font-family: Times New Roman; font-size: 16px; text-align: center; text-decoration: underline; vertical-align: auto;">[|**IStream**]   ||<   ||< <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: center; text-decoration: none; vertical-align: auto;"> **<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: center; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: black; font-family: 'Arial','sans-serif'; font-size: 16px; line-height: 115%; text-align: center; text-decoration: none; vertical-align: auto;">ifstream  **  ||