there isn't iostream.h in DJGPP, so does anyone know an equivelent to cin>>?
there isn't iostream.h in DJGPP, so does anyone know an equivelent to cin>>?
Hey, I don't know any DJGPP
but why not use <stdio.h> 's
scanf or fgets ???
Found the file here
D:\DJGPP\gnu\libgxx-2.811\libio\iostream.h
1. Did you tick the c++ box when you downloaded DJGPP?
2. Did you install it?
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.
1. Yes
2. Yes
I dont have a libgxxx folder!
Actually, I got it wrong.
The file is actually here d:/djgpp/lang/cxx/iostream.h
And it originally came from the gpp281b.zip file
One other point, you run the C++ compiler by typing 'gxx' not 'gcc'
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.