Search:

Type: Posts; User: Renegade

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    10,383

    code tags are your friends

    code tags are your friends
  2. Replies
    9
    Views
    1,594

    You may also want to try enum combined with...

    You may also want to try enum combined with classes.

    Like



    enum Food { Peanut, Jelly, Pizza, etc }
    enum Hats { Blue, White, Black }
  3. Thread: Linker Error

    by Renegade
    Replies
    5
    Views
    1,319

    oh I get it now... I thought u didn't have to do...

    oh I get it now... I thought u didn't have to do that

    I thought u could just sethp();



    class User
    public:
    User();
    ~User();
  4. Thread: Linker Error

    by Renegade
    Replies
    5
    Views
    1,319

    yea just went back in some tuts and found that...

    yea just went back in some tuts and found that out. I learned inhertiance and some poly, and i didn't know something like that, dumb. :(
  5. Thread: Linker Error

    by Renegade
    Replies
    5
    Views
    1,319

    Linker Error

    I have never had this problem before, and now i'm adding classes to my RPG, and all of the sethp,mp,etc says [Linker error] undefined reference to `User::sethp(int)' or something like that. What's...
  6. Replies
    17
    Views
    1,488

    cin.ignore may work

    cin.ignore may work
  7. Replies
    11
    Views
    1,196

    What are you trying to do with this code and why...

    What are you trying to do with this code and why are you using a double dimension array to contain a string? I would help but I don't really see what is the output for this code is suppose to be.
  8. Replies
    27
    Views
    2,348

    nvm that was my fault, i just worded it terribly,...

    nvm that was my fault, i just worded it terribly, i just get annoyed when some1 fixes what i say when i think it's right. But it was wrong, and I admit it. I knew what i was talking about but i...
  9. Replies
    10
    Views
    1,237

    Include is used like including a header to the...

    Include is used like including a header to the project. Like
    [CODE]
    #include <iostream>
    #include <windows.h>
    #include <string>
    etc.
    [CODE]

    I like to include all of my headers in a header...
  10. Replies
    27
    Views
    2,348

    my fault I meant Clifford.Bark(); instead of just...

    my fault I meant Clifford.Bark(); instead of just Bark();
  11. Replies
    27
    Views
    2,348

    I'm sorry to tell you this, but that is...

    I'm sorry to tell you this, but that is completely wrong. =\
    You have to have at least some public objects in classes, not just private and protected, and cout isn't just going to cut it... here is...
  12. Replies
    27
    Views
    2,348

    www.cplus.about.com my fault

    www.cplus.about.com
    my fault
  13. Thread: Functions

    by Renegade
    Replies
    8
    Views
    1,144

    Here is a common way to use functions.. ...

    Here is a common way to use functions..



    #include <iostream>
    #include <string>

    int mult(int x, int y)
    {
    return x * y;
  14. Replies
    4
    Views
    4,601

    There are one of many problems that you could...

    There are one of many problems that you could have here, since you didn't bother to post the error. Did you add "resource.h" to your main window file, did you add "resource.h" and "windows.h" to the...
  15. Replies
    8
    Views
    1,163

    Can anyone help with a program that would allow...

    Can anyone help with a program that would allow you to enter 5 floating point values into an array called Marks and then calculate and displays the average of the marks entered?

    Also need help...
  16. Replies
    27
    Views
    2,348

    It'll be hard to tell you everything you need to...

    It'll be hard to tell you everything you need to learn classes. It took me quite a while to learn em. goto some sites such as

    www.cplusplus.com
    www.cplusabout.com
    ww.functionx.com

    There are...
  17. Replies
    4
    Views
    1,913

    OMG, read throught the code before I post here,...

    OMG, read throught the code before I post here, I've been reading that code for hours, and I made it myself, after reading tutorials all day almost. The tutorial I read said nothing about defining...
  18. Replies
    4
    Views
    1,913

    dialog help needed

    here are all of my codes

    Main.CPP


    #include <windows.h>
    #include "resource.h"
    #include "dialog.h"

    const char *ClsName = "BasicApp";
  19. Replies
    0
    Views
    1,762

    makefile error

    I always get C:\Dev-Cpp\Makefile.win [Build Error] No 2
    In compiling I get Could not make makefile C:\Dev-Cpp\Makefile.win [Build Error] No 2 I/O error
  20. Thread: WM_PAINT prob

    by Renegade
    Replies
    5
    Views
    1,276

    I'm using dev-c++ too, and I'm having the same...

    I'm using dev-c++ too, and I'm having the same problem, any help?
  21. Replies
    26
    Views
    2,340

    file i/o thats what my friend c+noob is on

    file i/o thats what my friend c+noob is on
  22. Replies
    15
    Views
    6,906

    i did the whole thing, and i still get the...

    i did the whole thing, and i still get the destructors and constructor errors. Maybe this is just a glitch....
  23. Replies
    15
    Views
    6,906

    lol :rolleyes:

    lol :rolleyes:
  24. Replies
    15
    Views
    6,906

    well i got that code off of...

    well i got that code off of http://www.gamedev.net/reference/programming/features/mudpie1
    so I guess that their wrong =\
  25. Replies
    15
    Views
    6,906

    This is the whole code on Dev-C++ right now: ...

    This is the whole code on Dev-C++ right now:



    #include <windows.h>
    class CApp
    {
    public:
    int Main(HINSTANCE hInstance, LPSTR lpCmdLine, int nCmdShow);
    };
Results 1 to 25 of 41
Page 1 of 2 1 2