Search:

Type: Posts; User: Freestyler

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    16
    Views
    3,184

    I'm basing this on debugging where i can see the...

    I'm basing this on debugging where i can see the value in "File" as "C:\test.tga" After my image is loaded to File in DevIL i can hover when debugging in MSVC over either the global "QString File;"...
  2. Replies
    16
    Views
    3,184

    Hi, I have another question in follow up.. I...

    Hi,

    I have another question in follow up.. I have a Qt GLMain subclass and a MainWindow subclass in my program,

    Whenever i call my class object, like mentioned previously. Eg. GLMain.cpp
    ...
  3. Replies
    16
    Views
    3,184

    Yeah, I knew somebody would observe that I only...

    Yeah, I knew somebody would observe that I only had a few mins to test today so i just was curious about getting it compiled.. But thanks Elysia for the all of the useful info, as it was all quite...
  4. Replies
    16
    Views
    3,184

    Thanks, I knew i was close as i can generally...

    Thanks, I knew i was close as i can generally feel syntax causing me grief on most of this stuff.

    It did however allow me to think more conceptually about classes and OOP in general. Personally...
  5. Replies
    16
    Views
    3,184

    Thanks for the reply, So how does one create the...

    Thanks for the reply, So how does one create the "Car" object from the blueprint, so i can go "broom broom" globally.

    Any examples around? As i will have to do this a lot in my code so i cannot...
  6. Replies
    16
    Views
    3,184

    Any other hints, I did try doing similar at 2am...

    Any other hints, I did try doing similar at 2am last night for example.

    GLMain devil;
    devil.DevIL();

    I would of thought even "GLMain.DevIL();" would work why not?
    Why only from it's type?...
  7. Replies
    16
    Views
    3,184

    C++ Noob Class Confusion

    Hi, I'm writing a little application using Qt, and OGL on Vista x64. The application currently works, however I'm trying to learn more about C++ and this is my first project using Classes.

    I'm...
  8. Replies
    8
    Views
    1,103

    Thankyou! (Damn Syntax) I did try that as that's...

    Thankyou! (Damn Syntax) I did try that as that's what i thought you meant by storing it, VS throughout an error because i stupidly wrote:


    nValue + 4.9 = nValue2

    Compiler Error told me...
  9. Replies
    8
    Views
    1,103

    Yes I understood what you said, and i thought my...

    Yes I understood what you said, and i thought my updated code was attempting to remedy this, but it didn't.. After reading white pages of babel all day, I'm afraid how to store the result seems...
  10. Replies
    8
    Views
    1,103

    Yeah, thanks for the reply. I thought of both...

    Yeah, thanks for the reply. I thought of both these things just after i posted. And the answer makes sense. So to fix this, do i simply declare another variable to store it? This is what i tried...
  11. Replies
    8
    Views
    1,103

    C++ Newbie Question:

    Hi, I have recently started to read some C++ books, and i came across this in the "C++ for dummies"(obviously apt for myself) the following example on Mixed Mode Expressions.


    // in the following...
  12. Replies
    8
    Views
    4,652

    Thanks Octaves must of also been copied and...

    Thanks Octaves must of also been copied and pasted..

    Anyway here is revised code (I have tried to simplify) but i seem to be getting further away.. It would be nice to know the code works in the...
  13. Replies
    8
    Views
    4,652

    Thanks for the explanation of C99, that is the...

    Thanks for the explanation of C99, that is the main issue the stopped me from creating my own... So i will try again.

    It seems all code examples are in C++ these days, It would be nice to see...
  14. Replies
    8
    Views
    4,652

    I should of pointed out more clearly. The code...

    I should of pointed out more clearly. The code above is my beginning attempt it is missing mainly the loop of writing the noise to an array, and the actual GL drawing function. (currently it's...
  15. Replies
    8
    Views
    4,652

    Procedural Noise and OpenGL Help!

    I'm wondering if a kind soul, has the source-code to this tutorial.? http://www.gamedev.net/reference/articles/article2085.asp

    I'm getting a few errors, (something about C99 standards), when...
  16. Replies
    11
    Views
    1,918

    Sorry i'm a newbie, I made an effort to post...

    Sorry i'm a newbie,
    I made an effort to post what i had because otherwise i'm accussed on this forum of expecting others to write code for me.

    So i made the effort to post the working compiled C ...
  17. Replies
    11
    Views
    1,918

    Not much i can do about that.... It's likely the...

    Not much i can do about that....
    It's likely the most readable C, i can read....
    It should compile fine BTW....
    (Feel free to rewrite it neater if you can)

    In that case, maybe try to forget my...
  18. Replies
    11
    Views
    1,918

    Am i posting in the correct place? It simply...

    Am i posting in the correct place?

    It simply reads a file as binary and gives me the decimal
    output (as i need for another program i'm making)

    I just need it to add a comma and print to a...
  19. Replies
    11
    Views
    1,918

    Parsing and Fwrite Help Please.

    Hey peoples...

    This is a little program i use frequently..
    But i need it to add further function.
    At the moment, it prints the correct numbers
    to a console window.

    But XPPro ........s itself...
  20. Replies
    11
    Views
    1,307

    Doh! No that works fine now, thanks again...

    Doh!

    No that works fine now, thanks again everyone....
    I'd kept an unintentional remove(myfile) earlier in my code..

    Thanks again.....
  21. Replies
    11
    Views
    1,307

    remove("Doiv"); Does indeed work, (thankyou) ...

    remove("Doiv");
    Does indeed work, (thankyou)

    It was the remove(myfile); that would sometimes cause the warning....



    What is the fastest way to make sure i only delete the file
    after it's...
  22. Replies
    11
    Views
    1,307

    I just tried it again, and it compiles without...

    I just tried it again, and it compiles without problem..
    as a commandline .exe, But does not give the same error.....

    Yet the test object is still not deleted.... So it just ignores it.

    If i...
  23. Replies
    11
    Views
    1,307

    Newbie Deleting a file

    FILE *myscene;
    myscene = fopen("Doiv","wb");
    fwrite(Scene, 1, 200, myscene);
    fclose(myscene);

    How does one go about removing/deleting the file i create..

    I believe Remove is the option......
  24. Replies
    15
    Views
    2,041

    Okay, so i just remove the leading zero's from...

    Okay, so i just remove the leading zero's from the 8 and it works as expected. So thanks again.
  25. Replies
    15
    Views
    2,041

    EDIT -DOH, worked it out.

    EDIT -DOH, worked it out.
Results 1 to 25 of 31
Page 1 of 2 1 2