Discussion Locked

C to Qbasic

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Where can I find a program that converts C, C+ or C++ code into Qbasic code?

4 replies

by wls

C/C++ programs rely on libraries that QBASIC doesn't have. Additionally, C/C++ allow for data structures and pointers which QBASIC is going to have severe problems with.

The problem happens with most language ports. As such, you'll need to logical functionaly and build equivalent routines for things that aren't supported in the native langauge.

Unfortuantely, that's not the answer you wanted to hear -- I know.

Are you having problems with a particular construct?

by wls

Why not just get a copy of a C/C++ compiler, like GNU's (for free) ...even via Cygwin... and compile the C/C++ code as is for your platform? It'll be much faster.

by mike (from canada)

There was a game I downloaded and the source was in C. I did not understand it and I thought it would be possible to convert it to Qbasic. I am sure there is something out there.

by limatik

I second the answer from wls, I dont think there are tools that port C/C++ to QBasic. This is simply because, QBasic would not be able to handle complexities of the C/C++ language.

I have a better suggestion, why not learn C/C++ instead? I do recommend it and it might prove to be worth the while.

Best of luck.

This discussion is closed to new replies.