delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/29/16:37:09

From: "Majisun" <username AT infowest DOT com>
Subject: A very newbie question. Very newbie.
Newsgroups: comp.os.msdos.djgpp
Message-ID: <01bc9bae$0a7b5180$6d3d31cf@default>
NNTP-Posting-Host: dialup2-34.infowest.net
Date: 28 Jul 97 23:26:05 GMT
Lines: 14
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Alright, this may sound stupid, but I forgot how to define an array.

is this how you do it:

	class star
		{
		/* star stuff here*/
		}
	star starfield[100];

If so, how come it says
error: don't know how much storage space for starfield, and points me to
the line above?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019