Search:

Type: Posts; User: Noobie

Page 1 of 7 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,338

    working with a class function

    I get an error message that some kind of structure is needed to the left of the period in



    cout<<Joe.range();




    //.h file
  2. Replies
    6
    Views
    1,302

    what is meant by "goes out of scope"? is there...

    what is meant by "goes out of scope"?

    is there a way to delete the height and width? I want to delete the entire instance of the class.

    I think this is what I want:


    #include <iostream.h> ...
  3. Replies
    6
    Views
    1,302

    I don't need one; but I want to learn how to do...

    I don't need one; but I want to learn how to do it.
  4. Replies
    6
    Views
    1,302

    How to use a destructor

    The below code creates a "Box" class; and then an object "thisbox"; how can I uncreate the object?



    #include <iostream>

    class Box {
    private:
    int height, width, depth;
    public:
  5. Thread: RAM question

    by Noobie
    Replies
    6
    Views
    1,052

    RAM question

    How much RAM does it take for every integer? What about a char or char[256]? I haven't been able to find any decent tutorials on objects (i guess i can initialize one but i cant get them to interact)...
  6. Replies
    10
    Views
    1,589

    I have no idea what this means #include...

    I have no idea what this means


    #include <string.h>
    char *strstr( const char *str1, const char *str2 );

    The function strstr() returns a pointer to the first occurrence of str2 in str1, or...
  7. Replies
    8
    Views
    1,695

    Wuts the difference between Player...

    Wuts the difference between



    Player p(x,y,z);
    p.talk();


    and
  8. Thread: Graphics

    by Noobie
    Replies
    8
    Views
    1,202

    What if the ONLY graphics I want to do is display...

    What if the ONLY graphics I want to do is display .jpgs inside a nice little windows box with a command prompt console below it, is there a good tutorial for that?
  9. Replies
    8
    Views
    1,695

    Im not sure what you mean, I tried to add that...

    Im not sure what you mean, I tried to add that but it said that talk was not a member of player and I don't know...but the below code works I guess



    #include <iomanip>
    #include <iostream>...
  10. Replies
    10
    Views
    1,589

    I don't know what a reference is, aside from a...

    I don't know what a reference is, aside from a dictionary or encyclopedia.
  11. Replies
    8
    Views
    1,695

    basic object/class question

    What am I not understanding?


    class Player
    {
    public:
    Player();
    void talk();
    };
  12. Replies
    10
    Views
    1,589

    instead of saying if (!strcmpi("execute...

    instead of saying



    if (!strcmpi("execute command", command))


    is there a way to check and see if command includes "execute command" without checking to see that command[0]=e and command...
  13. Replies
    30
    Views
    8,040

    Of course there is an outer limit to the...

    Of course there is an outer limit to the universe...what...you think its infinite? lol
  14. Thread: FAQ Board

    by Noobie
    Replies
    11
    Views
    11,959

    Don't you think moderators could moderate the...

    Don't you think moderators could moderate the board if it was open to posting? It is somewhat inappropriate to harass people for making a suggestion on how to improve the site.
  15. Thread: FAQ Board

    by Noobie
    Replies
    11
    Views
    11,959

    I don't have a question about a post on the FAQ...

    I don't have a question about a post on the FAQ board, I have an answer to a question asked on the FAQ board. It seems pointless and limiting to prevent the submission of replies.
  16. Thread: FAQ Board

    by Noobie
    Replies
    11
    Views
    11,959

    Um, I think this IS a post about it...

    Um, I think this IS a post about it...
  17. Replies
    10
    Views
    1,589

    if (x && y || z)

    if I have something like

    'm'==command[0] && 'u'==command[1] || 's'==command[2]

    how does it work? Can I use both && and || together and if so what does it mean? Does it mean (this AND that) OR...
  18. Thread: FAQ Board

    by Noobie
    Replies
    11
    Views
    11,959

    No No No No - I don't want to move a post to the...

    No No No No - I don't want to move a post to the FAQ board, I want to reply to something already on the FAQ board
  19. Replies
    30
    Views
    8,040

    It would be more reasonable to say: "There is...

    It would be more reasonable to say:

    "There is a finite number of atoms within the universe."
  20. Thread: Why Bush!!!

    by Noobie
    Replies
    10
    Views
    2,845

    heh

    heh
  21. Replies
    13
    Views
    3,224

    If u like encyclopedias and GNU you'll love...

    If u like encyclopedias and GNU you'll love www.wikipedia.org
  22. Thread: FAQ Board

    by Noobie
    Replies
    11
    Views
    11,959

    FAQ Board

    I just wanted to suggest maybe the FAQ board should be open to posts. I was gonna add something but I can't and I felt it was pertinent and helpful information that I couldn't add.
  23. Thread: starting

    by Noobie
    Replies
    2
    Views
    1,345

    Ive been working on a text game for awhile, and...

    Ive been working on a text game for awhile, and the big that helped me out was looking at someone's well annotated sourcecode. However, my game is now far more complicated than my initial example;...
  24. Thread: Templates

    by Noobie
    Replies
    3
    Views
    1,551

    No idea.

    No idea.
  25. Thread: Extreme Newbie

    by Noobie
    Replies
    14
    Views
    1,696

    If u open it in command prompt itll stay open,...

    If u open it in command prompt itll stay open, but if u open it as an executable itll close when its finished unless u program it not to.
Results 1 to 25 of 170
Page 1 of 7 1 2 3 4