Search:

Type: Posts; User: Hubas

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Thread: template woes

    by Hubas
    Replies
    6
    Views
    953

    I think you nailed it! Thank you for your...

    I think you nailed it! Thank you for your insights=) I'll run off and find some books to brush up on my skills.

    Cheers,
  2. Thread: template woes

    by Hubas
    Replies
    6
    Views
    953

    I realize that my post wasn't at all that...

    I realize that my post wasn't at all that informative, and that your reply was really insightful since I didn't provide much information at all.



    namespace Core {

    class Download {
    ...
  3. Thread: template woes

    by Hubas
    Replies
    6
    Views
    953

    he thanks:)

    he thanks:)
  4. Thread: template woes

    by Hubas
    Replies
    6
    Views
    953

    template woes

    Hi!

    I was browsing through some open source apps and came across this snippet which I can't quite bend my head around. I'd really like a little help from the gurus in here=)



    template...
  5. Replies
    5
    Views
    1,917

    ok:)...thanks...

    ok:)...thanks...
  6. Replies
    5
    Views
    1,917

    Thanks for your speedy answer! That's not what...

    Thanks for your speedy answer!

    That's not what I meant though. I'm asking about how to pass the array to the function. Not how to define the function.

    /Hubas
  7. Replies
    5
    Views
    1,917

    const array float

    I was wondering how I would go about to pass a constant float array into a function in the same way you can pass const char arrays.

    eg.


    parse_file("load.txt");


    for the moment I write it...
  8. Replies
    6
    Views
    1,717

    What's your target audience? Are you developing...

    What's your target audience? Are you developing this in your spare time just for fun or are you going to sell the program? If you're not planning on selling it maybe you could start a project on...
  9. Replies
    4
    Views
    1,220

    ahh! that makes sense thank you:)

    ahh! that makes sense

    thank you:)
  10. Replies
    4
    Views
    1,220

    Ok, here is an example that compiles fine using...

    Ok, here is an example that compiles fine using the float variant but fails when I use the GLfloat variant.


    // test.cpp
    #include "c_color.h"
    #include <iostream.h>

    void main()
    {
    c_color...
  11. Replies
    4
    Views
    1,220

    strange behaviour using OpenGL types

    I have to ask about an error which I encounter from time to time but don't understand.

    In gl.h GLfloat is typedefed as a regular float.

    so why is there a difference between the classes posted...
  12. Replies
    6
    Views
    1,122

    I miss matlab;) But things are beginning to...

    I miss matlab;)

    But things are beginning to fall into place for me now:)

    I still have some problems but I'm trying to read up on them.
  13. Replies
    6
    Views
    1,122

    OK, I can only call superclass constructors...

    OK, I can only call superclass constructors through initiatialisaiton lists. Thanks for alll your help guys:)
  14. Thread: Friend functions

    by Hubas
    Replies
    15
    Views
    1,778

    Edit: Better answer above :)

    Edit:
    Better answer above :)
  15. Replies
    6
    Views
    1,122

    Wow! It works:) I don't really understand why...

    Wow! It works:)

    I don't really understand why but I'm going to pick the code apart to see why. Maybe the destructors makes all the difference?

    Thank you very much:)

    Edit:
    It seems to be...
  16. Thread: Friend functions

    by Hubas
    Replies
    15
    Views
    1,778

    Perhaps you should tell us what it is you don't...

    Perhaps you should tell us what it is you don't understand?

    The friend statement is there to give that function right to access private members of the two classes.

    GL
  17. Replies
    6
    Views
    1,122

    Inheritance and STL

    I'm running into problems when I try to access a multidemensional array,which is of type stl::vector<stl::vector<controlp>> from a derived class. I've temporarily made the superclass's datamembers...
  18. Replies
    2
    Views
    1,281

    I made a new project from scratch, (same source...

    I made a new project from scratch, (same source files). And now I don't have to press GO anymore:) But debug mode still looks strange. These are my warnings. It doesn't really matter since the...
  19. Replies
    2
    Views
    1,281

    Configurations give different results

    I've been working on a graphics project for a couple of weeks now where I handle transformations, polygon filling, light calculations, z-buffer etc. without using any API or third party libraries.
    ...
  20. Replies
    12
    Views
    1,536

    Linear Algebra

    Don't do a search for matrix or vector because you'll get tons of answers wich are irrelevant to you. Search for "Linear Algebra" wich is the branch of math that introduces matrices and vectors.
    ...
  21. Replies
    2
    Views
    1,223

    Strange, I tried that before I posted because it...

    Strange, I tried that before I posted because it seemed logical. I'll try to make a DIBbitmap instead and se if that helps things.
  22. Replies
    2
    Views
    1,223

    32bit -> 16bit color problems

    Hello everyone!

    I've made a small 3dapp without using OpenGL or DX, just GDI for displaying my buffer on a bitmap wich is copied to the screen.

    I'd like to make it compatible with 16bit...
  23. Replies
    6
    Views
    1,339

    Thanks for clearing this up grib:) I suspected it...

    Thanks for clearing this up grib:) I suspected it to be like this I had never seen it before though.
  24. Replies
    6
    Views
    1,339

    Thanks, but I meant the other one with the empty...

    Thanks, but I meant the other one with the empty initializers?

    hwColorType():r(),g(),b(){}

    Ah well:)...I suppose I can live with it:)
  25. Replies
    6
    Views
    1,339

    What does this mean? Strange Konstruktor.

    Hi!

    I'm a bit unsure about a konstruktor in a class deklaration.

    what does "hwColorType():r(),g(),b(){}" mean?

    Is it really needed?
Results 1 to 25 of 32
Page 1 of 2 1 2