http://GameProgrammer.Com

Programming

GP Mailing List
     Thread Index
     Date Index

ATXGPSIG List
     Thread Index
     Date Index

Google
>

Home

Wise2Food



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Files and Java



For some reason, random characters got inserted into my message, let's try
this again:

Vector myVector = new Vector();

or

String[] aStringArray = new String[10];



-----Original Message-----
From: Dale Gundersen [mailto:dgundersen@TRUELINK.com]
Sent: Friday, July 21, 2000 8:54 AM
To: 'gameprogrammer@gameprogrammer.com'
Subject: RE: Files and Java


Java doesn't have an explicit malloc function.  Use 'new' to allocate =
space.
For example:

Vector myVector =3D new Vector();

or=20

String[] aStringArray =3D new String[10];



-----Original Message-----
From: Matthew J Burke [mailto:mburke6@osf1.gmu.edu]
Sent: Friday, July 21, 2000 6:32 AM
To: gameprogrammer@gameprogrammer.com
Subject: Files and Java


Help! I'm playing around with java applications and files, but there =
are
about ten different classes which deal with files in the java
documentation.  (I know this isn't too game related, but my resident =
java
guru is out and the list seems to have some java folk) And there's no
malloc either!  Which should I use and how do I allocate a sufficient
buffer to hold my data?

Thankyouthankyouthankyouthankyou,
	Matt

Sidenote: Shockwave has some really cool sprite based games.

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
The GameProgrammer.Com mailing list is for the open discussion
of any topic related to the art, science, and business of
programming games. This list is especially tolerant of beginners.
We were all beginners once

To SUBSCRIBE or UNSUBSC=EA=15=AB=A8 please visit:
http://gameprogrammer.com/mailinglist.html
=================================================================
The GameProgrammer.Com mailing list is for the open discussion
of any topic related to the art, science, and business of
programming games. This list is especially tolerant of beginners.
We were all beginners once

To SUBSCRIBE or UNSUBSCꫨ please visit:
http://gameprogrammer.com/mailinglist.html
İİİİİİİİİİİİİİİİİİİİİÑe GameProgrammer.Com mailing list is for the open discussion
of any topic related to the art, science, and business of
programming games. This list is especially tolerant of beginners.
We were all beginners once

To SUBSCRIBE or UNSUBSCꫨ please visit:
http://gameprogrammer.com/mailinglist.html