|
|
Welcome to the Exploding Garrmondo Weiner Interactive Swiss Army Penis. |
GFF is a community of gaming and music enthusiasts. We have a team of dedicated moderators, constant member-organized activities, and plenty of custom features, including our unique journal system. If this is your first visit, be sure to check out the FAQ or our GFWiki. You will have to register before you can post. Membership is completely free (and gets rid of the pesky advertisement unit underneath this message).
|
|
Thread Tools |
Why won't this piece of C++ code compile?
Code:
#include <iostream> #include <iomanip> using namespace std; int main() { int c_game[3] = {8, 2, 9}; int w_game[3] = {7, 4, 2); int m_game[3] = {3, 1, 7); return (0); }
Jam it back in, in the dark. |
Wrong closing brackets there, Charlie. The error you're getting explains that.
There's nowhere I can't reach. |
^ What the man above said. Whilst C++ compiler errors are rarely the most helpful things in the world, actually reading them in this case would have pointed you straight to the issue.
How ya doing, buddy? |
Doh, like I said, really stupid >_>
Thanks. I am a dolphin, do you want me on your body? |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[News] One Piece get One More Chance: Now Licensed by Funimation | Soldier | Media Centre | 27 | Dec 3, 2007 11:14 AM |
Passion from Eminence | hsimons | General Game Music Discussion | 14 | Jun 6, 2007 08:18 PM |