No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
I've gone a little further with my code since the last time I posted here. Everything worked fine till the moment I started drawing in an actual 3rd dimension - the results are visible at least, but they're far from what they should look like. Instead of a pyramid and … |
|
Re:
hello dear users.. i am working on a simple 2d game like DANGEROUS DAVE (if anybody played he will know better)... i was working fine although i am new to openGl and glut... now there is a problem that i want my character ( in fact a bmp image) when … |
|
Hello, I have a class with as many objects I need. I am changing the value of some member variables individually here and there, however, now I want to be able to change one specific member variable of all objects e.g. bool visibility at once, so that all objects wll … |
|
Re:
A const member function is not supposed to operate the data member. However, it can operate the data member if it is a reference data type. Why can operate the reference data member even if the member function is constant? It is shown below: two classes: Bird & BirdHouse BirdHouse … |
|
Re:
Hello, my problem is of that kind beginners use to have. After following some glut tutorials I've decided it's time to do something small generally on my own. An obstacle appeared at the very beginning. At the moment I got stuck, all my code was supposed to do was drawing … |
|
Re:
I am working on a program to rewrite an assortment of integers in increasing order yet they are in decreasing order. I am pretty sure the problem is in my indexMax or sortArray functions but I cant find it. Can anyone help? [CODE]#include <stdio.h> #include "genlib.h" #include "simpio.h" #define size … |
|
Re:
So my assignment is to go a little farther in this Mortgage calculator. by the way thank you for all the help thus far. I am trying to get this right, but can seem to get the math right. Here is the assignment: Write the program as a procedural C++ … |
|
Re:
I am trying to implement some getters and setters in an abstract class that I am calling from the derived class draw functions but I can't get the thing to compile and I don't know why. Shape is the abstract base class. I am getting the compiler error that says … |
|
Hello, I was hinted for my cause in using a mastertemplate. I did and I swear my little programm was up and running late night just the way I wanted it. This morning, however, I did some other corner stuff and now it does not compile anymore.. just like that... … |
|
Hello! I want to use static_cast<int> on a void* member Variable in another class. (class aMessage). aMessage class has a public variable void* pVar. While using static_cast on a local variable is running smoothly, I get a compiler error trying to cast it on the aMessage->pVar. pVar is being declared … |