How can I disable and enable the keyboard so that nothing happens when U push any key. THX
Type: Posts; User: alanair23
How can I disable and enable the keyboard so that nothing happens when U push any key. THX
HI!
I want to chanfe my way of using the keyboard in C++. I have always written my script this way:
int a;
for(;;){
a=getch();
if(a==13) // it's ENTER
{
Thanks people....
How can I open another .exe file in my DOS-program.
How to delete only one line of a *.txt file????
e.g. "dictionary":
Boston - city in USA
California - state in USA
dog - an animal
cat - also an animal
and now I want to delete...
Can anybody give me an advice or function how to make a program that reads at the beginning the first line of a *.txt file, then if you push something the second and so on and so on.....
thanx...
Hi, Sorry that I can't help U.. I'm posting this message because I want to know how to paste sound, too... I'm usig Borland C++ 5.02 and T.assembler 5 ... something ......something..... thanx in...
Does anybody know how to make levels in 13h or in graphics stuff..... I mean the background and so on..
example: there is abackground(1 level) wich is movin' and U move a pixel on the another...
What to do if I want to return color of a pixel....
byte get_pixel(int x, int y)
{
/* y*320 = y*256 + y*64 = y*2^8 + y*2^6 */
return VGA[(y<<8)+(y<<6)+x];
}
I have the pixel but I...
I hav eBOrland 5.02 and I'm programing in 13h... Thakx for the replys ... But If I got the pixel how can I get the COLOR of this pixel.????? thanx in advance...............
How can i get the color of a pixel... For example (x=100,y=100,color=1 "random") // color is random !!!!
and I want to get the color of this pixel.... and if the color=1 bla bla.... and so on... I...
How can i get the color of a pixel... For example (x=100,y=100,color=1 "random") // color is random !!!!
and I want to get the color of this pixel.... and if the color=1 bla bla.... and so on... I...
Where can I find a good assembler graphics tutorial ??? By the way...
---------------------------
God bless America
and the whole world
---------------------------
use this:
dos.h
void SetVGA()
{
_AX = 0x0013;
geninterrupt (0x10);
}
But U need BGI mode to do this.. and these graphics are very bad and low!!! But I dont care
Why dont u try the loop function.
But it doesnt work u idiot!:p
So what should I do? I'm using win 98????