whoops, I just read your reply and the code. You did have .98 for gravity.
Type: Posts; User: Drake
whoops, I just read your reply and the code. You did have .98 for gravity.
I thought the calculation for gravity is .98 not .098, I doubt that this will help you though. I'll take a further look into your code to see if I can find any other physic's errors.
yeah, I just found the compile log, which shows the FULL error. It said that m_hp was declared private in both instances and all I had to do was make it public.
thanks.
yeah, I copied it straight from the compiler.
Thanks for that little bit of information, lol, I didn't realize I put that in there. But, unfortuantely I still have all of the listed errors (thanks for the help though).
Below you will see two header files and an implementation file(the one that has errors). I have included the error messages I am recieving below the two files. I don't know what I am doing wrong,...
While trying to compile the driver method, my compiler presented me w/ MANY errors....all refering to the header file you see here. I would like to know if there is any thing i declared wrong in...
When including ".h" (header files) into a program, does the file have to be in a relative directory to the file that is calling it? And if so, what is the difference from using "somefile.h" to...
thanks alot! I'll be sure to post the game in the games forum once it's complete.
Hey, i'm making my final text rpg before I move onto direct x and i'm making great progress. I have created an inventory class and a vetor to hold Weapon objects. Now, the question I have to ask...
Just wanted to know how you could make a program sleep. Please give some example code.
ex:
video intro to consol app. (scrolling word art)
thanks
HANG ON A SECOND!!! Bubba, I dunno if you took what I said the wrong way, but I took it that he was making his first Text RPG, like one that I would make through a consol window. If he was only...
linucksrox, this is only a text rpg. I know that what these guys said is a little too hardcore for you right now, so all you really have to do is create some kind of battle system (I would really...
I dunno if there is a typo in my C++ book or not, but I was wondering how a inlined and outlined function would be declared and defined in a class. If possible, put why it is good to inline and...
That would be freakin sweet, but make sure you include the monster index in the very back and map in the front or else it wont sell...
Hey, right now I am making a text rpg using classes and pointers for hands on experience. I have got as far as making a tutorial on how to play the game and could not figure out how in the world I...
well, considering I had no idea you could do that. You could have put that in nicer words, im sure of that.
thanks, I was reading ahead of where I am at in my book and I found that all I had to do was call the function with an object pointer. But, I could have also called it with a reference operator!!! ...
Hey, i'm finally picking up where I left last time in C++ after a full year of Java. Well I picked up at classes and decided that a great practice would be to make a little battle simulator. In the...
alright, change the extension to .txt
thanks
hey, i just finished making a store simulator for an rpg game using vectors....and vectors......and functions! But I have one problem....how in the world do I attach it to my thread? (dunno if zip...
they probally do, but the competition is held through your school. At least thats how it is at my school.
anyone doing robofest?
Robofest: Competition that involves programming robots to do tasks such as waste clean-up. Can use java, C++, and I think Basic.
I Love You
I really sorry, I should have been more specific when I said "empty slot". I put 10 strings in the vector that were all "empty slot". I am other strings in place of the empty slots. I'm using...