Search:

Type: Posts; User: rainmanddw

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    1,112

    while (running) { deltaTime = clock() -...

    while (running)
    {
    deltaTime = clock() - lastTime;
    lastTime = clock();
    object.position = object.position + object.velocity*deltaTime;
    draw(object);
    }
  2. ok instead of enableing and disabling textures i...

    ok instead of enableing and disabling textures i found this makes it white



    glBindTexture(GL_TEXTURE_2D, 0);
    //glDisable(GL_TEXTURE_2D);
    Courier.printf("I AM A...
  3. OpenGL bitmap fonts (NeHe lesson 13) and textures

    I am learning opengl from NeHe tutorials and I am currently on bitmap fonts: lesson 13; for learning purposes I wanted to add a shape with a texture for refreshing my memory and I have found a bug.
    ...
  4. Replies
    9
    Views
    2,180

    While the object is colliding keep subtracting...

    While the object is colliding keep subtracting its velocity untill it isn't colliding. Once it's done colliding if it reflects its bounciness should be above 0, it it stops its bounciness should be...
  5. vector / linkedlists of pointers, freeing memory

    In this code I noticed that the memory stays used when i press ctrl alt delete:



    #include <vector>
    #include <iostream>

    using namespace std;

    class someClass
  6. Replies
    7
    Views
    1,004

    Codeblocks is a pretty good ide. ...

    Codeblocks is a pretty good ide.

    http://www.codeblocks.org/
  7. Multiple Classes And Header Files error does not name a type

    When ever I try to program programs with a few classes and headers in different files sometimes it gives me

    error: some_class does not name a type

    for example I have the following classes in...
  8. Replies
    13
    Views
    2,532

    I switched form the devcpp ide to the codeblocks...

    I switched form the devcpp ide to the codeblocks ide. I like codeblocks a whole lot better but it took me a while to get used it and get it configured.
  9. Please Excuse My Dear Aunt Sally (Expression Tree Help)

    I am trying to make a calculator but since I am doing this on my own spare time, in the summer, I have no where to turn to but here for help.

    I know the order in which the data must be inserted...
  10. Replies
    8
    Views
    901

    using namespace std;

    using namespace std;
  11. Adding buttons, edit boxes, etc to the window

    I am new to windows programming and I am trying to turn a console program I made (an IRC bot) into a windows32 program so I can have it minimize to the system tray and take advantage of asynchronous...
  12. Replies
    3
    Views
    1,302

    You also have to have all of your files in a...

    You also have to have all of your files in a project if is a header file you made
  13. Classes being able to use other classes functions

    I am trying to write an irc bot that has text games such as ghost, wheel of fortune, hangman, etc on it. Since the number of lines of code is getting big I like to divide everything up into classes...
  14. Replies
    2
    Views
    5,221

    http://www.cppreference.com/cppstring/getline.html...

    http://www.cppreference.com/cppstring/getline.html



    #include <iostream>

    int main()
    {

    std::string buffer;
  15. thank you for your help. when I added...

    thank you for your help. when I added std::ios::in it worked fine
  16. DEV-C++ made program crashes when run from outside the ide

    When I click on the compile/run icons in the upper left corner of the devcpp ide my program runs fine. But when i run my program from outside the editor it crashes by just double clicking on it (the...
  17. Thank you, I had previously put in #include...

    Thank you, I had previously put in #include <iosteam>, but forgot the using namespace std;
  18. Multiple header files , cout undelcared probem

    main.cpp



    #include <iostream>
    #include "hdr.h"
    using namespace std;


    int main()
  19. How about you make them customizable. Add a few...

    How about you make them customizable. Add a few as examples though.
  20. Replies
    2
    Views
    858

    Help Me Get Started On A program

    I have read through a lot of beginner tutorials and can make basic programs.

    A few friends and me play video games online on their private server and I want to create a program to help us...
  21. Replies
    12
    Views
    1,533

    I sit on this forum pressing F5 all day.

    I sit on this forum pressing F5 all day.
  22. Replies
    32
    Views
    4,062

    0! = 1 doesn't it?

    0! = 1

    doesn't it?
  23. Replies
    32
    Views
    4,062

    #include #include using...

    #include <iostream>
    #include <cmath>
    using namespace std;

    int main()
    {
    cout << pow(0.0,0.0);
    cin.get();
    return 0;
    }
  24. Thankyou for the help, now the programs are half...

    Thankyou for the help, now the programs are half their original size.
  25. Large exe files for small amounts of code problem

    I am using DevC++ (mingw32 port of gcc I believe, version 3.2) and when ever I compile a program using the iostream library the exe is usally around 440Kb, while using stdio it is only like 26Kb. Is...
Results 1 to 25 of 30
Page 1 of 2 1 2