Search:

Type: Posts; User: Diamonds

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    3,658

    OMFG, ok after killing myself I have found out...

    OMFG, ok after killing myself I have found out that my hardware does not support rotations for direct draw and that DirectX which is suppost to emulate things, does emulate things, all things BUT...
  2. Replies
    6
    Views
    3,658

    ok i was using the wrong type of structure now I...

    ok i was using the wrong type of structure now I am using DDBLTFX as a structure for the rotation variable, it init's fine, but now the blt is failing.




    HRESULT h;
    RECT rc =...
  3. Replies
    6
    Views
    3,658

    ok i've got this started.. DirectDraw has a...

    ok i've got this started..


    DirectDraw has a datastructure with a number of effects stored which is passed into the function blt

    i am having trouble getting the structure init'ed.


    ...
  4. Replies
    6
    Views
    3,658

    Direct Draw: Rotating a bitmap

    I'm looking for someone who might have wrote code or knows of a lib function within direct draw (8.0) that will rotate a bitmap. I am trying to get an arrow bitmap to rotate in 360 degree circle.
  5. Replies
    2
    Views
    1,951

    ^

    ^
  6. Replies
    5
    Views
    4,875

    o cool

    oh no way, neat-o that is...

    btw, sang-drax do you think you could help me w/ this direct input strange-ness?

    http://cboard.cprogramming.com/showthread.php?s=&threadid=40895
  7. Replies
    5
    Views
    4,875

    what's the registry stuff for?

    what's the registry stuff for?
  8. Replies
    9
    Views
    1,398

    basic template

    the code should look something like this



    ofstream cFile("name of file.txt");

    cFile<<string<<"\n"; // \n is a return
  9. Replies
    2
    Views
    1,951

    Strange Direct Input Behaviour

    I've made a program using Direct Input from this webpage: http://sunlightd.virtualave.net/default2.htm . Using their tutorials and code, I've been able to map keys to do different things.

    The code...
  10. Replies
    1
    Views
    1,690

    forget it, foudn it

    forget it, foudn it
  11. Thread: how do you...

    by Diamonds
    Replies
    12
    Views
    2,234

    the evil way

    i'm going to get really yelled at for this :)

    void main() {
    10 //beinging


    //end
    goto 10;
    }
  12. Replies
    1
    Views
    1,690

    overloading >> operator

    class Property {
    public:
    Property();
    void operator >>(Property p);
    private:
    char *owner[256];
    };

    Property::Property() {}
  13. Replies
    3
    Views
    3,636

    quicksort, non-recursive I feel would help... ...

    quicksort, non-recursive I feel would help...

    if you use the recursive version on such a large pile, you might have speed problems.

    btw, the sort is in the standard library
    ...
  14. Replies
    3
    Views
    2,565

    Inheritance Classes w/ same function name

    I have two classes, 1 base, and 1 the child. The base has a function print, so does the child.

    Base:


    class Property {
    public:
    Property();
    char *getAddress();
    void setAddress(char *s);
  15. found it in the 4 for loops the j loop was...

    found it

    in the 4 for loops the j loop was incrementing i...

    but why would the program not print anyways?
  16. Code before a line that Crashes doesn't execute

    I use cout<<"something"; to find a location as to where the program is crashing. However, they don't print even though the debugger says the program crashes at a line after the cout<<"something";

    ...
  17. Replies
    2
    Views
    2,099

    does memcpy create a new block of memory?

    given two pointers :


    int *p1;
    int *p2;

    p1 = new int[10];

    memcpy(p2,p1,sizeof(p1));
  18. thnx cela

    thnx cela
  19. pardon my mistake, thought i was in C++ must...

    pardon my mistake, thought i was in C++

    must have been a wrong click
  20. that makes sense. would i have to use: ...

    that makes sense.

    would i have to use:


    sizeof(&array) / sizeof(&array[0]);

    in the function to get 10 as the length?
  21. sizeof(array) returns differnt values for same array?

    #include <iostream.h>
    #include <stdlib.h>
    #include <time.h>


    void printArray(int array[]) {
    cout<<"size of array: "<<sizeof(array)<<endl;
    for (int i=0;i<sizeof(array);i++) ...
  22. Thread: limit on cout

    by Diamonds
    Replies
    19
    Views
    2,614

    are you using: cout

    are you using:

    cout<<"string"<<endl;

    rather than

    cout<<"string\n";
  23. Replies
    2
    Views
    1,352

    dont use cin

    don't use cin

    instead you'll need the program to read the keyboard buffer for 'p'


    if it is pressed, paused
    if not, do nothing


    put that in the playmovie() function
  24. if you have a program that runs in the 'promt'...

    if you have a program that runs in the 'promt' then it's a consol application, and by defination it must have the consol up to run.

    If you use a Win API program you can throw it to the task bar,...
  25. Replies
    10
    Views
    5,707

    well, lemme tell you my problem, and hopefully...

    well, lemme tell you my problem, and hopefully you can suggest something.

    I want to only preform an operation after 30 miliseconds. I have the theory drawn out where I would get the time, then do...
Results 1 to 25 of 68
Page 1 of 3 1 2 3