Search:

Type: Posts; User: IdioticCreation

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. OK, I get it. I guess I just underestimate how...

    OK, I get it. I guess I just underestimate how much memory a list of pointers could take.

    Thanks for the help!
  2. Well my first thought is no, they shouldn't....

    Well my first thought is no, they shouldn't. Because it adds extra bulk to each node. But wouldn't having them there make range queries much faster because you wouldn't need to traverse down to the...
  3. QuadTree: Should Non-Leaf Nodes Contain Points?

    Hi CBoard,

    I'm implementing a quad tree for an assignment, and I'm not sure if every node should contain a list of pointers to every Point in its sub tree (implying the root node will contain all...
  4. They are working on a dedicated Android IDE:...

    They are working on a dedicated Android IDE:
    Getting Started with Android Studio | Android Developers

    Eclipse with ADT Plugin is probably
  5. Replies
    4
    Views
    665

    Alright, so any includes in a source file are...

    Alright, so any includes in a source file are going to look in their own working directory. I always get hung up on the simple stuff :P

    Thanks for the help though.
  6. Replies
    4
    Views
    665

    How do Including Paths Work?

    Hi,

    So I wrote a bunch of classes for an old project that I want to use in a new project. So I put each of the classes in its own directory (the h and cpp file), then put all those directories on...
  7. Replies
    26
    Views
    4,024

    I think Sipher has the right idea, but if you...

    I think Sipher has the right idea, but if you don't want to use images maybe you should look at a really simple particle engine or just particle effects. You could probably find a simple one...
  8. Well interesting. Yeah I see that now. The...

    Well interesting. Yeah I see that now. The reason I had it was because I was deleting filteredData_ in it, but just before I posted the code here I realized that once I had moved the filteredData_...
  9. Destructor Problem - Seg Fault After Main Returns

    So the class I'm working on is really messy at the moment because I'm playing around with it a lot and experimenting. It is a terrain class that loads a height map computes normals, etc, etc. ...
  10. I see I see. All is clear now.

    I see I see. All is clear now.
  11. Thanks for the info grumpy, this is really...

    Thanks for the info grumpy, this is really helpful



    I'm afraid I don't follow you here, sorry you'll have to explain your joke.

    I understand what your saying Xupicor. So if I make x, y and...
  12. if you declared it as int& func(const& a); then...

    if you declared it as int& func(const& a);
    then it would compile. I think a memory address is smaller than a float, so there is some advantage to be had. But yes, definitely with a class it is...
  13. Yay! Thanks for all the suggestions. I...

    Yay! Thanks for all the suggestions.

    I intended to have += and the likes return reference. I was also wondering - say the functions took integers instead of floats. Would pass by reference be...
  14. Yes, I think I understand it quite well now, and...

    Yes, I think I understand it quite well now, and it's working good. Here's the whole class now.


    #ifndef VEC3F_H_INCLUDED
    #define VEC3F_H_INCLUDED

    #include <iostream>
    #include <math.h>
    ...
  15. Awesome, I feel much better about this now.

    Awesome, I feel much better about this now.
  16. Thanks for replying! This helps a lot, I was...

    Thanks for replying!

    This helps a lot, I was thinking about it all wrong. Returning the temporary copy make sense to me. And I can see that returning a reference to it would not work.

    I still...
  17. Operator Overloading - RHS object is modified by assignment operation

    Dear cBoard,

    I wrote a 3d vector class, and it works pretty well. I was hoping to overload some operators to make the class a bit easier to use.

    Where * operator is over loaded to scale the...
  18. I fixed it. I simply forgot to put the pnglib...

    I fixed it. I simply forgot to put the pnglib dll in the same directory. I don't know too much about how dll's work, but it seems like normally when you are missing a dll, the program informs you.
  19. I just tested the code using SDL_LoadBMP()...

    I just tested the code using SDL_LoadBMP() instead of the SDL_image IMG_Load() and it worked just fine. The problem I guess is with IMG_Load(). I'm going to do some Googling, please let me know if...
  20. I haven't had a chance to work on this for a bit,...

    I haven't had a chance to work on this for a bit, but I am still stuck. I think you're right about this working directory problem. I ended up recreating the whole project, so I could get everything...
  21. Yes, I just double checked, also I think if there...

    Yes, I just double checked, also I think if there was a problem with spelling/capitalization it wouldn't run through the IDE either.

    I took out the code that closes the program when it can't load...
  22. I am double clicking it, all if the images are in...

    I am double clicking it, all if the images are in the same directory, and the first image that it attempts to load fails. I'm pretty sure they will all fail.
  23. Program can't locate resource when run outside IDE

    I'm really stumped. I'm using Code::Blocks and SDL.
    I'm trying to load some images, and it runs fine through the Code::Blocks, but when run through the explorer it fails every time.
    I've tried...
  24. Oh wow, that's exactly what I decided to try as a...

    Oh wow, that's exactly what I decided to try as a last shot, but then I started getting memory corruption errors and said screw it. Now that someone else thinks it could work (not just a hunch of...
  25. Thanks brewbuck, I guess it's back to the drawing...

    Thanks brewbuck, I guess it's back to the drawing board for me. I read somewhere that the number of training examples needs to be about 60 times the number of weights in a network to avoid...
Results 1 to 25 of 229
Page 1 of 10 1 2 3 4