DosBox中的Vectors头文件 [英] Vectors header file in DosBox
问题描述
我正在使用DosBox 0.74,并且想使用向量功能,但是找不到它的头文件?它不是< vector.h>
或< vector>
.我在Visual Studio上尝试过,并且工作正常.它在DosBox中具有不同的名称或什么?请帮助我,因为我必须使用DOSBox提交我的作品.
I am using DosBox 0.74 and I want to use vectors function, but I can't locate its header file ? its not <vector.h>
nor <vector>
. I tried it with Visual Studio and it was working fine.
It has a different name in DosBox or what ?
Please help me, since I have to submit my work with DOSBox.
推荐答案
向量是在Turbo C ++之后的C ++中实现的.实际上,直到Turbo C ++之后,C ++(我们今天所知道的标准化语言)才存在.这是一个真正的古老IDE,任何人都建议不要使用它.最好使用本世纪的IDE.
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.
因此,在Turbo C ++中没有像< vector>
这样的STL库.
So, there are no STL libraries like <vector>
in Turbo C++.
简而言之,您不能在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).
您说您拥有Visual Studio;坚持下去.如果需要,可以使用Code :: Blocks.只需停止使用Turbo C ++.
You said that you have Visual Studio; stick to that. And if you want, you can use Code::Blocks. Just stop using Turbo C++.
这篇关于DosBox中的Vectors头文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!