If you could read this and help point out the errors and how to fix em I would appreciate it. I can honestly say I've learned a lot on these forums and continue to from everyone's input. ( a few weeks ago I could barely do anything in C++)
Line 4: bad practice (google it)
Line 6: this comment is only useful to someone inexperienced with C++ - comments should explain why, not what
Line 9: not sure what you're worried about
Line 14: unusual comment
Line 15: Why declare the function and then define it two lines later? Remove this line.
Line 16: same issue as line 6
Lines 18-19: empty function body, probably not intended
Lines 20-23: you already made this function on line 7, now you've just duplicated it with a different name
Line 24: inconsistent brace style (you usually have braces on their own line)
Line 26: same issue as line 6
Lines 27-30: if these are the costs, you probably want to have "COST" in the names
Line 32: unusual indentation
Line 34: same issue as line 6
Line 36: unusual indentation
Line 38: the comment is useful but has strange wording
Line 42: same issue as line 6
Lines 44-48: variables declared long before they are ever given values (don't declare a variable until you are going to give it a value)
Line 50: use of uninitialized variable nbrFuelPods - you probably want to remove this line
Line 51: same issue as line 50
Line 53: same issue as line 50
Line 55: same issue as line 6
Line 58: same issue as line 6
Line 61: unusual blank line, remove it for consistency
Lines 64, 65, 67, 69, 71, 73: same issue as line 6
Line 76: inconsistent style; also possibly same issue as line 6
Lines 77-78: could be collapsed to one line
Line 84: inconsistent indentation
Lines 85-88: I think you're supposed to use your calcCost function?
Line 89: variable should be declared here instead of on line 48 (ditto for previous lines)
Line 101: unusual indentation
Line 103: inconsistent brace style (you usually have braces on their own line)