No worries ;)
Type: Posts; User: LifeInCode
No worries ;)
Writing the rest of your shoot method is something that the assignment question should tell you how to do. We can't be given a lump of code and be expected to complete it, without knowing the game...
I was using the word deprecated in the sense that the line of code:
//Deprecated/incorrect code
//cout << float x = 5.0f * str << endl;
had become obsolete, and was no longer required in...
I removed the return 0 from your code. The void function does not need to return a value (as I said in my previous post).
We found the missing function declaration from before. Function...
When I compiled the code on my computer, the majority of the errors were relating to an undefined "placement2" function.
You seem to have an unused function declaration:
void placement(int...
Here is a solution to your problem. Please read the in-code comments as they explain the changes that were made to your code.
//Programmer: Fernando B
//Program: debug
//Purpose: debugging
...
What are you having trouble with exactly? The logic of the application? Or compiler errors? All you have done is post us your assignment question and your attempted code.
Also, please don't be...
An undeclared identifier error occurs when the compiler can not recognise an identifier within your code; be it a sequence of characters representing: an object or variable name, class name etc. In...