If I create a dll that uses commands in iostream.h to read and write to files in linux, will I be able to copy the dll to a disk and use it in windows?
thanx in advance!
If I create a dll that uses commands in iostream.h to read and write to files in linux, will I be able to copy the dll to a disk and use it in windows?
thanx in advance!
No.
It is your source code which is portable from one machine to another.
Copy that to windows and recompile it using a windows compiler to produce a windows DLL
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
thanx.