Search:

Type: Posts; User: lilhawk2892

Page 1 of 8 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    11
    Views
    10,182

    alright i see now. im having the small problem of...

    alright i see now. im having the small problem of always coming up with 8. but that shouldnt take more then a few minutes to get past
  2. Replies
    11
    Views
    10,182

    my little program works now. from all your...

    my little program works now. from all your contributions. i feel as though ive accomplished something today.

    but i used cin.ignore(); without the parameters. is this okay? or dangerous?
  3. Replies
    11
    Views
    10,182

    You should get in the habit of choosing better...

    You should get in the habit of choosing better names for your variables. Naming your ifstream "count_space" and your ofstream "Count_Space" seems as if you are deliberately trying to confuse...
  4. Replies
    11
    Views
    10,182

    "and also. i seen it easy to just ad cout

    "and also. i seen it easy to just ad cout<<x + 1;"

    this is what i mean by that.

    heres the last bit of code


    while(1)
    {
    Count_Space >> msg;
  5. Replies
    11
    Views
    10,182

    well. at first i realised it was count the words....

    well. at first i realised it was count the words. after first trying to count spaces. but i figure right now itd be a start to count the whitespaces instead of the words. and switch it up when i can...
  6. Replies
    11
    Views
    10,182

    counting the white space seperated words?

    now. as you can all see by my join date ive been interested in programming for quite some time. and ive probably gone through this multiple tutorials to get nowhere.

    i never built a solid...
  7. Replies
    1
    Views
    1,882

    why wont getline() work?

    im working through TICPP one and i cant seem to get getline() to work;

    i am actually having a new problem. ive gotten getline to work. i was just reading from the wrong stream. but now i cant seem...
  8. can you please show us your whole code? or...

    can you please show us your whole code? or atleast what matters..

    headers, base class, derived classes, classes in action etc
  9. Replies
    13
    Views
    1,389

    those lasts tips helped my program is now running...

    those lasts tips helped my program is now running fine. and i know how to fix it the next time
  10. Replies
    13
    Views
    1,389

    my IDE... sorry. when i say compiler im usually...

    my IDE... sorry. when i say compiler im usually referring to the entire development enviroment
  11. Replies
    13
    Views
    1,389

    thanks for your input.. ill try this on a few...

    thanks for your input.. ill try this on a few other compilers and see how it works.. i just got through my tutorial on polymorphism. so im not too knowledgeable on virtual functions. but i know what...
  12. Replies
    13
    Views
    1,389

    sorry about the indentation.. i usually let the...

    sorry about the indentation.. i usually let the compiler handle the indentation.. thanks for the strings.h comment.. ive fixed it. but the problem persisits.. seems to happen everytime i use...
  13. Replies
    13
    Views
    1,389

    unexpected program crash

    im working on a simple program.. but it constantly crashes. i have absolutely no idea why. ill start the program.. write my name.. press enter. and it gives me the windows error "send bug report"...
  14. Replies
    7
    Views
    1,964

    ya i do have poor design. its not my specialty.....

    ya i do have poor design. its not my specialty.. for example. heres my entire character.h file



    #ifndef CHARACTER_
    #define CHARACTER_
    #include "headers.h"
    #include <string>

    class Character
  15. Replies
    7
    Views
    1,964

    oh i always thought that i had to use -> evertime...

    oh i always thought that i had to use -> evertime i use a pointer and try to use a method
  16. Replies
    7
    Views
    1,964

    Pointer in Function problem

    im trying to make my badguy pointer work. but i have no idea where the problem lies

    this is the function code


    int Monsters::DistanceToPlayerX(int curX,int PlayerX,Monsters& pBadGuy){
    ...
  17. Replies
    1
    Views
    832

    array of objects

    im in a perdicament, i need to declare the monsters in my game. but im not exactly sure of how to do that. so im turning to arrays, my original plan was just to do this



    Character[2] =...
  18. Replies
    1
    Views
    1,029

    help with door position

    ok right now im working on a roguelike. and i need to draw the room door. i have a class called room which has the integer width and height as private ofcoarse and in main i have the object MyRoom....
  19. Replies
    10
    Views
    3,222

    WOOOO for the first time in a week. i have a...

    WOOOO for the first time in a week. i have a build with absolutely NO unmanageable errors. feels nice.
  20. Replies
    10
    Views
    3,222

    put them in there own .cpp file? but should what...

    put them in there own .cpp file? but should what could possibly need to go in the cpp file? i thought a .h would suffice?

    oh but i did add newlines into my project in the compiler. not on the...
  21. Replies
    9
    Views
    1,756

    how about billboard_objects::

    how about billboard_objects::
  22. Replies
    10
    Views
    3,222

    thank you.. for the past little while ive been...

    thank you.. for the past little while ive been doing some tinkering. so the defines were there at one point.. things just got a bit hectic.. one moment ill put them in. they should go in the header...
  23. Replies
    10
    Views
    3,222

    there are repeats? i could have SWORN i checked...

    there are repeats? i could have SWORN i checked every line of code there 2 - 3 times.. ill get rid of the extras.. then ill post most of my code if it doesnt work.. thank you for the speedy replies....
  24. Replies
    10
    Views
    3,222

    expected primary expression

    my program wont compile because of an error i cant solve.. i have and c++ file that defines all of my class funtions, but in every function definition i have an error (sometimes 2 or 3) per function...
  25. Replies
    7
    Views
    1,851

    ASCII dungeon template

    im currently designing my rpg engine.. just to see what i can do. im currently at the point where i would like to implement a visual dungeon. im thinking of making a text file with the design

    text...
Results 1 to 25 of 197
Page 1 of 8 1 2 3 4