Turbo C 的最佳快速替代编译器/IDE,支持音频和图形

发布于 2025-01-07 05:01:10 字数 165 浏览 5 评论 0原文

我正在制作一个小型2d 游戏包作为我的大学项目。我使用 Turboc 3.0 作为编译器。我正处于需要更好的图形和声音的阶段。我花了几天时间在网上和我自己寻找解决方法,包括音频和更好的图形。你能告诉我哪种 Ide 可以快速学习,因为时间是一个限制?

I am making a small 2d GAME PACK as my University project. I am using Turboc 3.0 as the compiler. I am at a stage where I need better graphics and sound. Ive spent days looking for a workaround on the net and by myself too including audio and better graphics.Can you please tell me which Ide can be learnt quickly, as time is a constraint here?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

脱离于你 2025-01-14 05:01:10

Turbo C 只是 C 编程语言的 IDE + 编译器。 C 本身不具有任何音频或图形功能,这意味着您找不到可以轻松整合此类功能的 C IDE。您需要的是一个带有 C API 的这将允许你做这样的事情。

IIRC Turbo C 确实附带了一个用于 DOS 的基本图形库,但我不认为有任何对音频的支持。不幸的是(或没有)Turbo C 如今已经过时了。大多数用它编写的程序在现代操作系统上都会出现问题,而在 DOS 上处理音频和图形本质上意味着直接与硬件对话——绝对不是一件小事。

如果您想要一个现代音频/图形库,SDL 是一个流行的选择2D 游戏,根据我的经验,相当容易操作。不过,您可能需要将它与更现代的编程环境结合起来 - 我怀疑 Turbo C 会削减它。您可能需要查看以下一项或多项内容,以获得在现代系统上完全正常运行的编译器和/或 IDE。:

  • 代码块

  • Dev-C++

    警告:此 IDE 已经有一段时间没有更新了。我过去曾成功地使用过它,但我不建议此时投入时间和资源。

  • Mingw32

  • Eclipse CDT,可下载此处

    警告:Eclipse 主要针对专业开发人员。它非常强大,但有时使用起来会相当混乱。虽然从长远来看它会为您节省大量时间,但它可能并不完全适合需要立即在此处完成工作的人。

  • Visual Studio Express

Turbo C is just an IDE + compiler for the C programming language. C does not have any audio or graphics capabilities on its own, which means that you will not find a C IDE that readily incorporates such functionality. What you need is a library with a C API that will allow you to do such things.

IIRC Turbo C did come with a rudimentary graphics library for DOS, but I do not believe that there was any support for audio. Unfortunately (or not) Turbo C is pretty much obsolete these days. Most programs written in it would have issues on modern operating systems and handling audio and graphics on DOS essentially means talking straight to the hardware - definitely not something trivial.

If you are after a modern audio/graphics library, SDL is a popular choice for 2D games and, from my experience, rather easy to work with. You will probably need to couple it with a more modern programming environment though - I doubt Turbo C will cut it. You might want to have a look at one or more of the following for a compiler and/or IDE that will be fully functional on modern systems.:

  • Codeblocks

  • Dev-C++

    Warning: this IDE has not been updated for quite some time. I have used it successfully in the past, but I would not recommend investing time and resources on it at this point.

  • Mingw32

  • Eclipse CDT, downloadable here

    Warning: Eclipse is mostly targeted to professional developers. It is very powerful, but it can occasionally be rather confusing to use. While it will save you a lot of time in the long run, it may not be perfectly suitable for someone that needs to get work done right here, right now.

  • Visual Studio Express

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文