Search:

Type: Posts; User: alanair23

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    3,336

    how to disable the Keyboard?

    How can I disable and enable the keyboard so that nothing happens when U push any key. THX
  2. Thread: Keyboard

    by alanair23
    Replies
    2
    Views
    1,022

    Keyboard

    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
    {
  3. Replies
    10
    Views
    1,514

    Thanks people....

    Thanks people....
  4. Replies
    10
    Views
    1,514

    opening a file in DOS

    How can I open another .exe file in my DOS-program.
  5. Replies
    1
    Views
    946

    please help me

    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...
  6. Thread: text

    by alanair23
    Replies
    1
    Views
    844

    text

    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...
  7. Replies
    5
    Views
    1,531

    Hi, Sorry that I can't help U.. I'm posting this...

    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...
  8. Thread: levels

    by alanair23
    Replies
    0
    Views
    1,151

    levels

    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...
  9. Thread: return color

    by alanair23
    Replies
    2
    Views
    974

    return color

    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...
  10. Thread: problem

    by alanair23
    Replies
    4
    Views
    931

    again

    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...............
  11. Thread: problem

    by alanair23
    Replies
    1
    Views
    960

    problem

    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...
  12. Thread: problem

    by alanair23
    Replies
    4
    Views
    931

    problem

    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...
  13. Thread: assembler

    by alanair23
    Replies
    2
    Views
    887

    assembler

    Where can I find a good assembler graphics tutorial ??? By the way...
    ---------------------------
    God bless America
    and the whole world
    ---------------------------
  14. Replies
    5
    Views
    2,172

    use this: dos.h void SetVGA() { _AX =...

    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
  15. Replies
    22
    Views
    1,755

    Why dont u try the loop function.

    Why dont u try the loop function.
  16. But it doesnt work u idiot!:p

    But it doesnt work u idiot!:p
  17. Replies
    5
    Views
    6,450

    So what should I do? I'm using win 98????

    So what should I do? I'm using win 98????
Results 1 to 17 of 19