Search:

Type: Posts; User: destroyerBEACON

Search: Search took 0.01 seconds.

  1. Peroxide.dk had no information about PIT that I...

    Peroxide.dk had no information about PIT that I could find, and I don't plan to switch to DJGPP. I tried to install it in the past, but all I did was waste 3 hours.
  2. Which Functions?

    Does anybody know of a function in Turbo C++ 1.00 that can count time faster than a second? I looked through the functions in time.h and dos.h, but couldn't find anything.

    This is mainly to make...
  3. Program speed using time instead of memory

    Is there a way that I can make my programs run at a constant speed? It speeds up and slows down spontaneously. I am using Turbo C++ 1.00.
  4. Replies
    8
    Views
    2,509

    Code

    Attached is the code that I used.
  5. Replies
    8
    Views
    2,509

    Mouse + Animation Trouble

    I am trying to program a mouse into my program. My mouse function stores all of the pixels under the cursor into a matrix called umouse. It then draws the cursor. Whenever the mouse moves, the...
  6. Replies
    4
    Views
    987

    That helped, thanks. After entering the code,...

    That helped, thanks.

    After entering the code, I found that the main error was somewhere else in my code, simply changing && to || . Oops :)
  7. Replies
    4
    Views
    987

    void changenum(int *x1, int *x2) { int...

    void changenum(int *x1, int *x2)
    {
    int a=1,b=1;
    if (*x1 < *x2) a=1;
    if (*x1 > *x2) a=-1;
    if (*x1 == *x2) a=0;
    x1 += a;
    }

    The first if statement may be redundant, but I use...
  8. Replies
    1
    Views
    713

    Help with a function

    I am trying to make a simple function where you input x1 and x2 and the function will increment x1 if it is less, decrement if x1 is more, and keep x1 the same if the numbers are equal.
    I can get it...
  9. Replies
    4
    Views
    987

    Help with a function

    I am trying to make a simple function where you input x1 and x2 and the function will increment x1 if it is less, decrement if x1 is more, and keep x1 the same if the numbers are equal.
    I can get it...
  10. Replies
    0
    Views
    2,754

    Weird floodfill() effect

    I compiled this code using Turbo C++, and floodfill had a weird diamond-like pattern come out every time the "coin" switched colors. Can anybody explain this?

    #include <graphics.h>
    #include...
Results 1 to 10 of 10