Vectors header file in DosBox

不问归期 提交于 2019-12-01 18:53:12
Arun A S

Vectors were implemented in C++ after Turbo C++. In fact, C++ (as the standardised language we know it today) didn't exist until after Turbo C++! It is a truly ancient IDE and anyone would recommend not to use it. It's better to use IDEs of this century.

So, there are no STL libraries like <vector> in Turbo C++.

Simply put, you can't use vectors in Turbo C++. If you really want to, then you will have to create a library for it yourself (but it won't be worth it).

You said that you have Visual Studio; stick to that. And if you want, you can use Code::Blocks. Just stop using Turbo C++.

I think your best bet would be Open Watcom C/C++. It has STL and it can compile for Dos, which to my knowledge current versions of Visual Studio cannot do. I use it with DOSBox for unit testing embedded software in a 16-bit environment.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!