-1

I want to include iostream inside a c++ dll file but am getting "fatal error: iostream: No such file or directory" error.

How can I include header files in a dll file?

Gatimu
  • 11
  • 8

1 Answers1

1

There's no such a thing like "include header files in a dll file".
What you can do is:
include header files in a source code file (i.e. *.cpp),
then compile it to create a shared library (DLL file on Windows platform).

roalz
  • 2,699
  • 3
  • 25
  • 42