0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

c++ builder / naming > 02Main.cpp > 有効な識別子ではありません。IDEで管理されるユニットのルートファイル名は有効な識別子でなければなりません。

Last updated at Posted at 2015-10-30
動作確認
C++ Builder XE4

複数のプロジェクトをプロジェクトグループで管理する時、それぞれのプロジェクトに属するということがわかるようにファイル名を付けようとした。

2つめのプロジェクトのMainユニットを02Main.cppのようにしようとすると以下のようにエラーとなった。

有効な識別子ではありません。IDEで管理されるユニットのルートファイル名は有効な識別子でなければなりません。

2つのプロジェクトのソースファイルを1つのフォルダで管理するのが間違いなのかもしれない。
2つめのプロジェクトのソースを別フォルダに入れるなどの工夫が必要がなのかも。そうした場合のデメリットなどは要検討。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?