15 lines
216 B
C++
15 lines
216 B
C++
|
|
#include "Compiler.h"
|
|
#include <string>
|
|
using namespace std;
|
|
|
|
Compiler::Compiler(FILE * output_file)
|
|
{
|
|
m_outfile = output_file;
|
|
}
|
|
|
|
void Compiler::write(const string & str)
|
|
{
|
|
fputs(str.c_str(), m_outfile);
|
|
}
|