Search:

Type: Posts; User: LifeInCode

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    1,442

    No worries ;)

    No worries ;)
  2. Replies
    12
    Views
    6,850

    Writing the rest of your shoot method is...

    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...
  3. Replies
    7
    Views
    1,442

    I was using the word deprecated in the sense that...

    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...
  4. Replies
    12
    Views
    6,850

    I removed the return 0 from your code. The void...

    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...
  5. Replies
    12
    Views
    6,850

    When I compiled the code on my computer, the...

    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...
  6. Replies
    7
    Views
    1,442

    Here is a solution to your problem. Please read...

    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
    ...
  7. Replies
    3
    Views
    1,877

    What are you having trouble with exactly? The...

    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...
  8. Replies
    4
    Views
    1,222

    An undeclared identifier error occurs when the...

    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...
Results 1 to 8 of 8