Click to See Complete Forum and Search --> : Guess the Error!
Galen of Edgewood
04-05-2001, 05:12 PM
Okay, the language is C++.
int mSize[2,6];
What's the error?
------------------
Baby of Edgewood @ birth (03/09/01, 12:34am)
6 lbs 7 ounces
18 inches long
perfectly healthy
Pinky
04-05-2001, 05:23 PM
Originally posted by Galen of Edgewood:
Okay, the language is C++.
int mSize[2,6];
What's the error?
You can't initialize an array like that. If you want it to be two dimensional 2x6, you would do this:
int mSize[2][6];
Do I win a prize? hehe j/k http://www.sharkyforums.com/ubb/smile.gif
------------------
Proofread carefully to see if you any words out.
[the man] (http://darksavior.net/~pinky/) [the specs] (http://darksavior.net/~pinky/pinkyspecs.txt) [the fake SBC ID] (http://darksavior.net/~pinky/beerclub.jpg)
Klashe
04-05-2001, 05:24 PM
Originally posted by Galen of Edgewood:
Okay, the language is C++.
int mSize[2,6];
What's the error?
Having bugs with your code, Galen? http://www.sharkyforums.com/ubb/biggrin.gif
------------------
Sharky Quote of the Moment:
Lucifer696 - "(I)Drink only coffee coke or beer... water is bad because fish abuse emselves in it "
richardginn
04-05-2001, 07:30 PM
any more problems galen.
------------------
www.geocities.com/richardginn/templatehtml (http://www.geocities.com/richardginn/templatehtml) -Come visit the Template HTML homepage