Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: prattcmp

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    2,288

    Re: How do I make derived classes

    I moved it from here:



    #include <iostream>

    class Enemy
    {
    public:
  2. Replies
    10
    Views
    2,288

    Re: How do I make derived classes

    I am used to another forum that uses that tag. Where do I move srand to so that it still generates a random number every time?
  3. Replies
    10
    Views
    2,288

    Re: How do I make derived classes

    Ok. I figured out the first question I asked. Now I am onto the method.

    I want to change:
    [C++]
    int Enemy::attack()
    {
    int hit;


    srand(time(NULL));
  4. Replies
    10
    Views
    2,288

    How do I make derived classes

    Ok, I am a bit confused. How do I make a derived class from this:



    #include <iostream>

    class Enemy
    {
    public:
  5. Replies
    8
    Views
    1,851

    Re: Many Error Messages in my C++ Program

    Umm. That doesn't really help much. Explain a bit further please?
  6. Replies
    8
    Views
    1,851

    Re: Many Error Messages in my C++ Program

    Yes, I do want a GUI. With a basic white background and the words to be in a corner as a chat type thing.
  7. Replies
    1
    Views
    446

    class Timer error message :O

    I keep getting this error whenever I compile my program. I am using XCode and am not sure of what to do or how to fix this error.


    #define TIMER_H_DEF
    #include <iostream>
    #include <string>...
  8. Replies
    8
    Views
    1,851

    Re: Many Error Messages in my C++ Program

    Thanks. That seemed to fix it. But do you know how to make my code into an application? Or is that too complicated for you to tell me?
  9. Replies
    8
    Views
    1,851

    Many Error Messages in my C++ Program

    I am new to programming and don't know what is wrong. I've tried to fix it for about a day now.
Results 1 to 9 of 9


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center