Search:

Type: Posts; User: Rubiks14

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. I was going to but had problems using getline...

    I was going to but had problems using getline with string. That and I don't have much experience messing with c-style strings, so I decided to use them instead to become more familiar with them.
  2. Ah I had forgot to make the temporary name...

    Ah I had forgot to make the temporary name variable dynamically allocated and then send it over. Thank you very much.
  3. Problem deleting dynamically allocated char array

    As the title states, I'm having problems deleting a dynamic character array. I run the program and it runs fine until I delete the character array that holds the player's name.

    It gives me an...
  4. a couple questions about inventory management system

    So I've been messing with polymorphism and inheritance a lot recently. I have been reading everywhere and looking through code of some RPGs and realizing how beneficial it is for RPGs. I have been...
  5. Replies
    4
    Views
    1,216

    might sound dumb but what exactly does index...

    might sound dumb but what exactly does index represent?

    EDIT: nevermind i figured it out...i have no idea why i didn't think of that before though...i probly need to take a break
  6. Replies
    4
    Views
    1,216

    reading data from vector question

    I have a vector that is made up of structures. I'm wondering how to read the data from each structure that is stored in the vector. Thanks for any help in advance.

    Thanks, Rubiks14
  7. Replies
    9
    Views
    1,542

    just one. but in an AND statement both have to be...

    just one. but in an AND statement both have to be

    good way of puttin it slymaelstrom...and they say violence doesn't solve anything :p.
  8. Replies
    9
    Views
    1,542

    slymaelstrom it works but i thought && was AND...

    slymaelstrom it works but i thought && was AND and that || was OR. so i am sorta confused here. :P
  9. Replies
    9
    Views
    1,542

    question about ||

    ok i can't seem to figure out what is goin on here. i'm using or in my while statement and an if statement further down and no matter what i type in i can't get the while statement to leave. even if...
  10. Replies
    4
    Views
    2,482

    gotcha...that actually works out better since u...

    gotcha...that actually works out better since u can't create text files inside a project
  11. Replies
    4
    Views
    2,482

    of course...i forgot u could do that with text...

    of course...i forgot u could do that with text files
  12. Replies
    4
    Views
    2,482

    how do u make a C project in visual C++

    i'm wonderin how to set up visual C++ to where i can add .c files to projects instead of only being able to add .cpp

    thanks Rubiks14
  13. Replies
    7
    Views
    9,689

    will consider that but in the mean time i'm gonna...

    will consider that but in the mean time i'm gonna try to stick with the book as much as i can so i don't get lost :D
  14. Replies
    7
    Views
    9,689

    thanks ChaosEngine that is what i was thinking...

    thanks ChaosEngine that is what i was thinking after reading what it said...also thanks for the bit of code to fix it.

    now there is a problem with my erase member function which i think it the...
  15. Replies
    7
    Views
    9,689

    some kind of problem with .find

    alright so i'm making this program for an exercise in Beginning C++ Game Programming and i run it because i think it's all fine and it turns out it's not :rolleyes: it pops up an error that says...
  16. Replies
    2
    Views
    1,026

    duh, i should have known that...and i should have...

    duh, i should have known that...and i should have looked more closely at it b4 posting...thanx though :p
  17. Replies
    2
    Views
    1,026

    program is freaking out on me

    alright i made just a simple little math game using a lot of the i've learned from the first 3 chapters of "Beginning C++ Game Programming" and it works fine the first time through the loop but when...
  18. Replies
    7
    Views
    1,048

    thanx i'll look into that

    thanx i'll look into that
  19. Replies
    7
    Views
    1,048

    thanx guys...i figured out what i'm gonna...

    thanx guys...i figured out what i'm gonna do...i'm gonna finish my book and on the way do things like willc0de4food said...then once i become proficient in C++ i'm gonna move onto sdl (because it...
  20. Replies
    7
    Views
    1,048

    that is the thing...i don't really know it all...

    that is the thing...i don't really know it all that well...i have "Beginning C++ Game Programming" and i've read like through chap. 3 i just need something that will keep me focused
  21. Replies
    7
    Views
    1,048

    need suggestions on controlling boredom

    anybody got ideas on how to make console apps not seem so boring...i want to learn to program and i can understand almost everything i've tried to learn it's just that i get so bored with console...
  22. Replies
    4
    Views
    1,630

    thank you, that solved the problem of the error...

    thank you, that solved the problem of the error but sadly there still is one. no matter what i type in it says "Ok, i guess you don't suck that bad" :(

    EDIT: sry didn't add the x in the if...
  23. Replies
    4
    Views
    1,630

    i tried something almost like that and i kept...

    i tried something almost like that and i kept getting an error when i ran my code but now for some retarded reason it works :D . thanks for the response

    EDIT: wait nevermind i know what it is, it...
  24. Replies
    4
    Views
    1,630

    How to use enumerators to store input

    ok i bought beginning C++ game programming about a week ago and i've read the first 2 chapters and i get everything exept this one exercise where your supposed to take the "Menu Chooser" program (a...
  25. Replies
    3
    Views
    1,470

    thank you. i used string and got it working

    thank you. i used string and got it working
Results 1 to 25 of 26
Page 1 of 2 1 2