Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有包含/使用/导入其他类的条款,或者这可能是 EiffelStudio 中的添加库部分?如果是这样,您将如何在基于文本编辑器的环境中执行此操作?
在 Eiffel 中,没有 C/C++“包含”的等价物。当您描述您的项目时(在 ecf 文件中),您指出哪些集群和库是您系统的一部分。集群基本上是一个包含 Eiffel 类的文件夹。编译时,Eiffel 编译器会扫描所有集群/库以查找 .e 文件。您可以使用所有和任何这些类,而无需任何“包含”指令。