私は3つのオブジェクトポインタfstream * output、fstream * inputとdialog1 * dlgを宣言しました。 dialog1.hが含まれています。fstreamオブジェクトポインタ
#include<fstream>
#include "stdafx.h"
#include "dialog1.h"
fstream *output;
fstream *input;
dialog1 *dlg
エラーC2059:構文エラー: '定数'(約ダイアログ) エラーC2143:構文エラー:見つかりません ';' before '*'
Q:プロジェクトのエラーを作成するときに ";" * inputと* outputについて出てくると約* dlgの構文エラーconstが出てきます。これらのオブジェクトを宣言する方法は何ですか?
正確なエラーメッセージとコードが役立ちます。 – Adam