Search:

Type: Posts; User: blurrymadness

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    3
    Views
    2,022

    Problem building 64bit rand

    THIRD EDIT: Feel free to delete this problem. Turns out the object hadn't been allocated... so when I'd access it's vars they weren't allocated either. Arg.




    I've been building a...
  2. Replies
    2
    Views
    3,201

    HLSL, Error with Color

    I've been working my way through a coding book, and I've been taking their shaders and messing with them to create different ones. At this point however I'm wholly stuck on a pair of errors. Further,...
  3. Replies
    14
    Views
    4,145

    Still playing with it. oddly enough, I did get...

    Still playing with it. oddly enough, I did get good output this time. The only change was the "endl" added to the cerr statement. I'm assuming that the compiler is then directly using the result...
  4. Replies
    14
    Views
    4,145

    1. Irrelevant to the discussion. 2. Whoops. 4....

    1. Irrelevant to the discussion.
    2. Whoops.
    4. It's not a problem.

    Are you content with wholly ignoring my question? The closest thing I've found on the internet is the possibility of a...
  5. Replies
    14
    Views
    4,145

    void TST::search(char *filename, char *filetype)...

    void TST::search(char *filename, char *filetype)
    {
    nodeT *newNode,*curNode;
    curNode = root; //keeps track of where we are in our tree
    cerr << endl << filetype...
  6. Replies
    14
    Views
    4,145

    @g4j31a5 Whoops. I was retyping instead of...

    @g4j31a5
    Whoops. I was retyping instead of actually posting my code. It's been edited to reflect how it actually is. The real code is a cascading if for what is essentially a trinary tree

    @Salem...
  7. Replies
    14
    Views
    4,145

    strcmp+pointers=memory problems?

    I'm going to go nuts here. I have some code that is comparing file-names and types within a tree (for traversal.) I've made sure that each piece of data is good data (I.E. the filename taken in and...
  8. Replies
    1
    Views
    8,284

    Modulus to Bitwise

    Essentially I'm doing an assignment of a loop with 9973 integers in an array (closest prime to 10,000 so dual loops are needed), adding them up, and doing this 200,000 times. It's an assignment about...
  9. Replies
    0
    Views
    3,850

    Dev C++: can't run code

    EDIT: Fixed the problem. The program had been made a static library in the options.

    I have recently started into a book on building a game engine. My current problem isn't actually the code (I...
  10. Replies
    2
    Views
    6,317

    Thanks!

    I haven't tried the info yet, but that all makes sense. I think i'll stick with getcursorpos() and getasynckeystate() because it's not only the event of pressing the right button, but holding it is...
  11. Replies
    2
    Views
    6,317

    LPPOINT problem

    i'm using GetCursorPos(LPPOINT lpPoint) to well... get the cursor position. I can't figure out how to incorperate an lpPoint to be mildly helpful to me. Anyone be of help on this? If i can't use...
  12. This is most likely a homework thing. It says...

    This is most likely a homework thing. It says questions 1 and 2. I did something like this in CS160 I believe. It's call the ceaser cipher, or the ceaser shift, and at any rate, it was created by...
  13. Replies
    3
    Views
    1,064

    The way i've always done it (both array and...

    The way i've always done it (both array and linker) is when reading from the file, copy to somewhere else, this was for classes and structs however. The problem with yours is you're making some...
  14. Replies
    0
    Views
    2,835

    RTS camera movement

    Alright, so in my last post I was busy fixing one aspect of my RTS camera, the looking-feature. In this one I'm busy trying to get the basic RTS camera movement, either the standard move to the side...
  15. Replies
    13
    Views
    12,825

    IT IS ALL FIXED. I had to change some stuff after...

    IT IS ALL FIXED. I had to change some stuff after the code. It looks like this...


    These are global variables since the next two code segments are in different areas, I'll probably get around to...
  16. Replies
    13
    Views
    12,825

    RECT R = {0, 0, 800, 600}; AdjustWindowRect(&R,...

    RECT R = {0, 0, 800, 600};
    AdjustWindowRect(&R, WS_OVERLAPPEDWINDOW, false);
    mhMainWnd = CreateWindow("D3DWndClassName", mMainWndCaption.c_str(),
    WS_OVERLAPPEDWINDOW, 100, 100, R.right,...
  17. Replies
    13
    Views
    12,825

    I understand that much. When I defined WS_POPUP...

    I understand that much. When I defined WS_POPUP at the top, nothing changed, so I'm assuming I need to call it somewhere (even though that sounds wrong to me). At any rate, I defined it as shown...
  18. Replies
    3
    Views
    9,119

    IF...

    ...you meant that you wanted it to display correctly, you simply use the functions, fixed, showpoint, and setprecision. These require <iomanip>.
    Other than that, you can get it to show only...
  19. Replies
    8
    Views
    1,674

    Uh...

    Why is points called into the function and never used?

    In your function header, it says "int points", but you never use that. THAT is probably why you're having a hard time if you're completely...
  20. Replies
    1
    Views
    14,785

    WS_POPUP, continuation of old problem

    This is simply to attract new "buyers" (lol), since my old thread was never actually the problem, and has been answered thouroghly. I was given information when I posted my thoughts on the problem...
  21. Replies
    5
    Views
    1,037

    I disagree

    You don't really NEED a second program to open a second window. Look at obliviion, half the game (lol) is played in a "second window" that stops gameplay. Do you mean having two completely seperate...
  22. Replies
    9
    Views
    1,610

    Ouch

    Ok... I think what you're doing (it is VERY difficult to read) is having every for loop go through every number?

    It seems like you check every single value every single step of the way. Build a...
  23. Replies
    5
    Views
    2,530

    Code is frustrating...

    ...and you'll just have to get used to it. However if you've been on that for four months, you haven't been trying very hard lol. It can be VERY usefull in programs, I still use it and I'm in the...
  24. Replies
    13
    Views
    12,825

    YES. Thanks. Having trouble still, being that...

    YES. Thanks. Having trouble still, being that after defining WS_POPUP



    #define D3D_FULLSCREEN_STYLE (WS_POPUP)


    It still does the same problem. I am unsure how to use it, (i'm surprised my...
  25. Replies
    13
    Views
    12,825

    Hm

    I reduced it to a bare bones camera (no movement. No horizontal or vertical rotation). I believe there's a few things that MIGHT be happening. I scoured the program (I could post it in it's entirety,...
Results 1 to 25 of 28
Page 1 of 2 1 2