I pascal and QBasic, you can specify a beginning entry number and ending entry number. Is this possible to do in C++?
-----------------------
http://www.venosoft.com Soon to come - a QBasic contest forum!
-----------------------
Actually, cos is a function included in math.h, and uses radians, so it would be prototyped with int.
To convert degrees to radians, just multiply degrees by pi, then divide by 180. Or, to save processing time, multiply it by a constant you make called PI180, than holds pi/180...
Is it possible to use a
CHDIR "."
or will that not work?
-----------------------
http://www.venosoft.com Soon to come - a QBasic contest forum!
-----------------------
You could also make a windows slave program in C++ or *shudder* VB. That's what DS4QB++ did (and the others). It allowed you do use direct sound in QB, but actually had a windows program taking commands from the qb program.
-----------------------
http://www.venosoft.com Soon to come - a QBasic...
I knew the old bugger would come back! :)
-----------------------
http://www.venosoft.com Soon to come - a QBasic contest forum!
-----------------------
I'm just starting to do SDL in C++, and I wrote a program to test it out, and basically it plots a big spray of particles on the screen. The problem I'm having is an external error in compilation saying int main() doesn't exist, when it's clearly there. Please help, because it's driving me nuts...
What format are you reading the gif into? PUT format, or a multidimensional array? You should just write your own drawing routine.
(Are you using SCREEN 13? I know most about that)
-----------------------
http://www.venosoft.com Soon to come - a QBasic contest forum!
-----------------------
Unless you're going to flip palettes around every 1/30th of a second, I don't see why you'd waste so much memory... -----------------------
http://www.venosoft.com Soon to come - a QBasic contest forum!
-----------------------
You really don't have to waste the memory like that. A simple PALETTE call will suffice. -----------------------
http://www.venosoft.com Soon to come - a QBasic contest forum!
-----------------------
actually, I'm pretty sure the original colors can be restored by using the PALETTE command with no parameters.
If you want to manipulate the palette, and you're in SCREEN 13, I suggest you use the much faster way doing this:
OUT &H3C8, palIndex
OUT &H3C9, r
OUT &H3C9, g
OUT &H3C9, b
I know it...
I'm not sure about this, but I think there's a NAME command. I know this because I tried to use name$ for a variable once, and it wouldn't let me.
Ok I just looked and its prototype is:
NAME oldfilename AS newfilename
Hope this helps :) This signature is subject to change without notice.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.