I was wondering if anyone knew how to check if a number was prime or not...I already know about using logarthmic integrals and x/ln x but I need something that will give me a good answer every time
I'm using turbo c++ 1.1 and when I try to compile things it says i'm missing tclasss.lib. It used to work but something happened and I dont know what. can someone help me?
i wanted to know if someone could show me how to make a funtion that will evaluate integrals for me. if not is there a way i can do factorials in qbasic? i want to make gamma and beta funtions, and the only two ways i know how to find gamma and beta for gamma(n) and b(m,n) are to use factorials...
i have two libraries i want to use...one for graphics and the other for ems...i know you can't load qbasic with two libraries but ive heard you can combine two .lib's to make one and then make a .qlb out of that so i can use both libs at once. can someone please tell me how to do this
i have a box in screen 9 that is one quarter of the screen big and it is on the right hand side of the screen at the top. i was wondering how i could make a sub routine that would work like print only just make it so that it prints everything in the box
i was wondering if there was a way to take all of the memory from an array and put it on the screen directly. I have an array declared as
dim vscreen%(3200)
and i edit the memory in the array like
def seg=varseg(vscreen%)
poke varptr(vscreen%)+x+(y*320),col
def seg
where x and where are...
i was wondering if there was a way i could make the computer think that the user typed in certain keys like esc. or crtl or something without the user actually typing keys. thanks in advance for any help
i have a game i'm working on and i have the ai in it but the ai reacts to quickly to dodge it. everytime you are on the same floor level as the enemy the enemy automatically shoots out the laser giving you no chance to dodge it. i was wondering if someone could tell me how to add in a reaction...
i have a 32x32 sprite stored i stored in an array using GET and i was wondering how i could rotate the sprite around the center of itself and the PUT it on the screen
i ahve about 7 really big arrays in my program and whenever i get to th 6th one basic tells me im out of memory. can someone tell me how to get around this. thanks
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.