Search:

Type: Posts; User: madsmile

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Thread: key problem

    by madsmile
    Replies
    20
    Views
    4,707

    nop the problem is the guy moves too slow...

    nop the problem is the guy moves too slow...
  2. Thread: key problem

    by madsmile
    Replies
    20
    Views
    4,707

    key problem

    I'm programming a RPG game in borland C++ 3.0
    this is just for fun later i will change the graphic mode to opengl or directx but for now is with BGI

    my question is how do i know when a key is...
  3. Replies
    6
    Views
    2,442

    sorry, but i didn't understand how the files in...

    sorry, but i didn't understand how the files in the url you toll me works...
  4. Replies
    6
    Views
    2,442

    hey try this code.... #include...

    hey try this code....




    #include <iostream.h>
    #include <conio.h>
    #include <string.h>

    void main (void)
  5. Replies
    6
    Views
    2,442

    as i belive... heap in c++ (under DOS) is the...

    as i belive...

    heap in c++ (under DOS) is the first 640 kB and i got to alloc about 5mb, so i ran out of memory (i can't alloc everything i need), and also i can't make new dynamic variables...
    ...
  6. Replies
    1
    Views
    748

    how do i print

    i need to print...
    is there any command to send information to the printer in dos???
  7. Replies
    6
    Views
    2,442

    memory question

    i want to know how i create a dynamic matrix but i want to alloc it on the ram not the heap

    here's some the code i have:



    #include <iostream.h>
    #include <conio.h>

    void main (void)
  8. Replies
    0
    Views
    1,061

    "color degradation" algorithm code

    where i can find a "color degradation" algorithm code... i want to make some degradations... but i don't know how... (i don't want fade out or fade in... i'm looking for an algorithm for a palete...
  9. Replies
    8
    Views
    1,280

    yeah i have read the docs... is on borland c++...

    yeah i have read the docs... is on borland c++ v3.1

    the problem is that i need to alloc about 5 mb... i know this can be posible, but the heap on DOS is just 640Kb so i run out of memory in about...
  10. Thread: multitask

    by madsmile
    Replies
    1
    Views
    1,127

    multitask

    can i make a c++ program under DOS that runs multitasking??? i want to do that for buttons and some other thigs... i can do buttons, but i have to check every time all the buttons (a small graphic...
  11. Replies
    8
    Views
    1,280

    memory question

    I have a little question... with this like what do i do...


    char *k = new char[30] ;

    i know this makes a pointer "K" to a structure of 30 chars.. but this works on the heap... i want to do it...
  12. Replies
    4
    Views
    4,045

    Borland C++ Version 3.1 (MsDOS)

    Borland C++ Version 3.1 (MsDOS)
  13. Replies
    4
    Views
    4,045

    getting filenames

    How do i get all the filenames from a specific directory?

    example:
    C:\madsmile\ <- my prog root dir
    C:\madsmile\saves\ <- my save directory

    i want to get all the filenames in "saves"...
  14. I want to know is there some other way to do it...

    I want to know is there some other way to do it...
  15. help me, i know this sounds crazy but i want to do it...

    I got this:

    i'm working on borland C++ v3.1
    i'm working with graphics.h
    what i want is do capture the background into a matrix (dynamic memory) then draw some stuff over the captured area, and...
  16. Replies
    3
    Views
    6,080

    I forgot this.. typedef unsigned char byte; ...

    I forgot this..

    typedef unsigned char byte;

    this is the type declaration for byte...
  17. Replies
    3
    Views
    6,080

    I wrote this code... this works on BGI.. ...

    I wrote this code... this works on BGI..



    char* gettextxy(int x1,int y1,byte colorback = 0,
    byte colorfont = 15, byte limit = 0)
    {
    byte x=0;
    int i=0;
    char in[2];
  18. Replies
    3
    Views
    1,870

    this gave me diferent errors: - constant...

    this gave me diferent errors:
    - constant expression required (i don't know what the heck this is) [this error on line unsigned long matrix = new unsigned long [w][h]; ]
    - Canoot convert 'unsigned...
  19. Replies
    0
    Views
    1,313

    fade out and fade in *question*

    I got this code:


    /*******************************************
    *******************************************/

    typedef unsigned char byte;
    typedef byte palete[256][3];
  20. Replies
    3
    Views
    1,167

    wost... i still don't know the diference between...

    wost... i still don't know the diference between c and c++ sorry..
  21. Replies
    3
    Views
    1,870

    dinamic memory question

    Sorry i know this is a stupid question but i don't know how to do this...


    i need to create a dinamic matrix to capture some pixels of the screen...

    i want something like this (i know this...
  22. Replies
    3
    Views
    1,167

    i need help with a dinamic matrix

    Sorry i know this is a stupid question but i don't know how to do this...


    i need to create a dinamic matrix to capture some pixels of the screen...

    i want something like this (i know this...
  23. Replies
    2
    Views
    2,341

    (char * to int) and (int to char *)

    How do i convert a char * to a number

    like char * to int ???
    and int to char * ???

    do i have to program the commando or c got one?

    (btw where do i ask question about borland c v3.1, here?...
  24. Replies
    5
    Views
    2,369

    wow that's exactly what i need... thx... you...

    wow that's exactly what i need... thx... you should make a small links page for reference like that... :D
  25. Replies
    5
    Views
    2,369

    yeah, but this link is broken... ...

    yeah, but this link is broken...

    http://users.ox.ac.uk/~ball0597/Reference/WindowsProgramming/

    i want to know the structure of a image file... (the header, where is the palete, and where is...
Results 1 to 25 of 26
Page 1 of 2 1 2