Search:

Type: Posts; User: RealityFusion

Page 1 of 11 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    6
    Views
    1,471

    Ok, I see what you mean. When I fist started...

    Ok, I see what you mean. When I fist started getting into it I also wanted to learn all the code, line by line so I could understand how it works. I don't have any links but I can recommend you a...
  2. Replies
    6
    Views
    1,471

    Don't re-invent the wheel.

    If your talking about wanting to learn the actual code that goes into creating a windows window, a button and all that stuff then you are just setting yourself up for a major headache.

    I stick...
  3. Wooohooo! Solved part of it myself!

    Ok, after spending several days toying with this I managed to figure out part of the problem myself.

    Instead of creating new combo boxes based on the items selected in a previous combo box I...
  4. Create new combo boxes based on items selected in preview combo box

    I am trying to write a very simple Windows Forms application program using Visual C++ 2005. The title says it all but I would like to expand on it a little.

    What I am ultimately trying to do, is...
  5. Replies
    2
    Views
    2,026

    Finding LCM--Driving me nuts

    I am having the hardest time finding the lowest common denominator.
    I have it set up in a for loop, for the life of me I can't find whats wrong.
    Here is what I have so far:


    for (x=0;x ==...
  6. Replies
    2
    Views
    1,036

    Question about decimal places

    I am needing to output dollar amounts to the screen. I tried using float and double but they only print numbers that are greater than 0. I use a function to do a calculation and when I return the...
  7. I understand that but the class has not learned...

    I understand that but the class has not learned about loops. :)

    I think it misunderstood the question that was asked.



    Would I be correct in assuming that this is they way the problem is...
  8. Replies
    4
    Views
    1,641

    Haha, thats some great stuff. Don't get...

    Haha, thats some great stuff. Don't get discouraged at the ammount of work you actually have to do. The cool thing about being new to ogl is that you basically just have to learn what a function...
  9. Class problem...I think its the constructor.

    I wrote up the code for the class, despite not really knowing what a constructor truely is I went ahead and took a wild guess. When I got to main and created the class objects (account bal, account...
  10. Replies
    4
    Views
    1,221

    I would highly recommend Dev-C++...

    I would highly recommend Dev-C++ I have been using it ever since I started programming. There are lots more out there, this is just the one I really like. Also, there is almost no doubt in my mind...
  11. Replies
    5
    Views
    1,579

    Ah, took me a while but I finally got it. I keep...

    Ah, took me a while but I finally got it. I keep forgetting that when I do a windows application program and I save over something else it never compiles. I had to rename my project and the .cpp...
  12. Replies
    5
    Views
    1,579

    Here is all the code: #include ...

    Here is all the code:


    #include <windows.h>

    /* Declare Windows procedure */
    LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM);

    /* Make the class name into a global variable ...
  13. Replies
    5
    Views
    1,579

    Book example error?

    I am reading through the pages of "Programming Windows, fifth edition" by Charles Petzold. I use Dev_c++ complier. I created a windows application and it created most of the basic windows stuff I...
  14. Replies
    16
    Views
    2,875

    I can't wait till I get to that point as well. ...

    I can't wait till I get to that point as well. As of now I can only see 2 reasons to use pointers. 1 being able to use then and modify a value from main() from a function (ie pass by reference). 2,...
  15. Not true. I am currently enrolled in a Software...

    Not true. I am currently enrolled in a Software Engineering class with an emphasis on game programming at UAT. The first class I took was an introduction to game programming using DarkBasic.


    ...
  16. Replies
    5
    Views
    1,321

    if ('+' == mysign) ; { Remove the ; from that...

    if ('+' == mysign) ; {

    Remove the ; from that line and from


    if ('-' == mysign) ; {
  17. Replies
    7
    Views
    1,694

    If you want to go into game design your in the...

    If you want to go into game design your in the wrong place. There is a BIG difference in game design and game programming. For game design you will graduate with some degree in Art and take...
  18. Replies
    7
    Views
    1,694

    Use double instead of float....read up on the...

    Use double instead of float....read up on the differnces.
  19. Replies
    7
    Views
    1,365

    You can use system("PAUSE") but it's not very...

    You can use system("PAUSE") but it's not very portable. I am not sure if it does what you want but you can give it a shot.
  20. Replies
    11
    Views
    1,784

    Anyone know why I am getting an error when I am...

    Anyone know why I am getting an error when I am trying to use inheritance.



    class Monsters : public Player {


    keeps telling me that it expects a class-name before the '{' token, any help...
  21. Replies
    11
    Views
    1,784

    I couldn't get this working because I kept...

    I couldn't get this working because I kept getting this error

    Player is not a type

    Got the same error when trying this.

    I think what I am needing is to use inheritence. I just need to get a...
  22. Replies
    11
    Views
    1,784

    I understand about scope, that is why I am having...

    I understand about scope, that is why I am having my problem. M is declared as this in main (along with Player):


    int main()
    {
    Monsters M;
    Player P;

    ... // rest of code here
  23. Replies
    11
    Views
    1,784

    More trouble.

    I am trying to pass the variable from class Player to a member function in class Monsters. I need to know how to acess member functions to another class from inside a different class memeber...
  24. Replies
    11
    Views
    1,784

    When the program starts I want the exp and plvl...

    When the program starts I want the exp and plvl variable to be 0. Should I state this in the class constructor or just set them to equal 0 in the private variable class list? I am worried if I do...
  25. Replies
    4
    Views
    1,615

    I added the parts in bold text and it runs fine....

    I added the parts in bold text and it runs fine.



    #include <iostream>

    using namespace std;

    enum difficulty {Easy = 1, Medium = 2, Hard = 3};
Results 1 to 25 of 256
Page 1 of 11 1 2 3 4