In C++ program instead of iostream.h
if I write iostreamhihiju.h
it still works. It does not give an error. Like this:
Anything written after iostream
is allowed, can someone help to find the the reason?
In C++ program instead of iostream.h
if I write iostreamhihiju.h
it still works. It does not give an error. Like this:
Anything written after iostream
is allowed, can someone help to find the the reason?
You appear to be using an ancient DOS-based compiler. In DOS, file names can have at most 8 characters before the extension, anything more is silently dropped.
iostream.h
,iostreamx.h
andiostreamhihiju.h
all name the same file.This will stop working when you move to a Windows-based compiler.