Hola que tal, bueno solo necesito terminar este proceso que tengo.
Código C++:
Ver original#include <iostream>
using std::cerr;
using std::cout;
using std::endl;
using std::cin;
using std::ios;
#include <fstream>
using std::ofstream;
#include <cstdlib>
#include "stdlib.h"
#include<conio.h>
main()
{
ofstream Algebra("Algebra.txt",ios::app);
if (!Algebra)
{
cerr<<"No se pudo abrir el archivo"<<endl;
}
TipoCola Cola;
InicializarCola(&Cola);
char sb;
cout<<"Escriba una cadena en algebra relacional"<<endl;
while (cin>> sb)
Algebra<<sb<<endl;
//while
}//MAIN
por ejmeplo yo en el teclado escribo esto
Cita: PI nombre,apellido,(ALFA edad<19 (alumnos))
y al darle enter se acabe el ciclo y ya no escribir mas