Vectors header file in DosBox

后端 未结 2 790
攒了一身酷
攒了一身酷 2021-01-19 03:59

I am using DosBox 0.74 and I want to use vectors function, but I can\'t locate its header file ? its not nor . I tri

2条回答
  •  借酒劲吻你
    2021-01-19 04:16

    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 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++.

提交回复
热议问题