Gamingforce Interactive Forums
85242 35212

Go Back   Exploding Garrmondo Weiner Interactive Swiss Army Penis > Garrmondo Network > Help Desk
Register FAQ GFWiki Community Donate Arcade ChocoJournal Calendar

Notices

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).


Why won't this piece of C++ code compile?
Closed Thread
 
Thread Tools
KrazyTaco
urrrrrr


Member 753

Level 13.94

Mar 2006


Old Oct 19, 2008, 01:48 PM #1 of 4
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);
}
This seems really stupid because I just finished a program involving arrays not too long ago, and had no problems with it. When I try compiling this though, the compiler returns
Quote:
8 expected `}' before ')' token
and
Quote:
8 expected `,' or `;' before ')' token
The compiler repeats the same problems for the next line as well.

Jam it back in, in the dark.
KrazyTaco
urrrrrr


Member 753

Level 13.94

Mar 2006


Old Oct 19, 2008, 02:35 PM #2 of 4
Doh, like I said, really stupid >_>

Thanks.

There's nowhere I can't reach.
Closed Thread


Exploding Garrmondo Weiner Interactive Swiss Army Penis > Garrmondo Network > Help Desk > Why won't this piece of C++ code compile?

Forum Jump

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


All times are GMT -5. The time now is 04:21 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2026, vBulletin Solutions, Inc.