これは何をしますか: char(nextChar)
. char という名前の変数がありません。ここで char クラスのコンストラクターを呼び出していますか?
int nextChar;
while ((nextChar == stream.get()) != EOF)
{
// Convert it to a string for lookup in the symbol table
string foundChar = "";
foundChar += char(nextChar);
}