iodos.h

Whenever I try to call the "iodos.h"-library Code::Blocks gives me an error. It says that there is no such file or directory. Do you know why?

1
2
3
4
5
6
7
8
#include <iostream>
#include "iodos.h" // ERROR ON THIS LINE!
using namespace std;

int main(){
    dos_console();
    cout << "Jag har många stålar!";
}
Last edited on
At the risk of stating the obvious, perhaps it's because there is no such file?

If the file does indeed exist, make sure that the compiler header search path includes that location.
@ Chervil

I'm sure of its existence, I was reading a book about C++ and they used the same library.

If the file does indeed exist, make sure that the compiler header search path includes that location.

Do you know how to do that? Because I sure as hell don't.
I'm sure of its existence, I was reading a book about C++ and they used the same library.

That doesn't mean that it's necessarily installed on your computer. You need to verify that it is, in fact, installed.

Do you know how to do that?

I'm not familiar with Code::Blocks, but somewhere in the settings will be an option to specify the include paths.

Of course, to do that, you'll need to know which directory the file is in, which you'll find out when you verify whether the file's actually installed.
iodos.h is not part of Code::Blocks or the C++ STL.

A google search yielded the following link for iodos.h:
http://www.google.com/url?sa=t&rct=j&q=iodos.h&source=web&cd=2&cad=rja&ved=0CDEQFjAB&url=http%3A%2F%2Fbin.ceicer.com%2Fdevcpp%2Fiodos.h&ei=DR3DUfPdIpLC9gSTpYHACQ&usg=AFQjCNF8DWTPIfTgr4PGub_xbLxghbBmJA&bvm=bv.48175248,d.eWU

So it looks like you're going to have to download it as put it somewhere that your compiler can find it. From the comments in the header, it seems it simply does mapping between latin1 and dos character sets.

Last edited on
DOS hasn't been in widespread use in 20+ years.

I recommend avoiding any lib/header that has "dos" in the name.
Okay. I just wanted to be able to use the whole Swedish alphabet, because whenever I try to use Å, Ä or Ö it outputs some other weird sign. Maybe there is some other way to include those letters without having to write a number combination each time?
Topic archived. No new replies allowed.