QuickTopic (SM) free message boards QuickTopic (SM) free message boards
Skip to Messages
  Sign In to access your topic list  |New Topic |My Topics|Profile
Upgrade to Pro   Customize, show pictures, add an intro, and more:   QuickTopic Pro...and check out QuickThreadSM
Topic: AP Computer Science with J#
Views: 360, Unique: 184 
Subscribers: 0
What's
this?
Printer-Friendly Page
Subscribe to get & post, or stop messages by email Subscribe
About these ads
Who | When
Messagessort recent-bottom   
Post a new message
 
 
Messages 4-3 deleted by topic administrator between 07-23-2006 02:06 AM and 07-21-2006 08:59 AM
Chris  2
10-10-2005 07:29 PM ET (US)
I am in Java programming 1 using the Ivor Horton's Beginning Java 2 sdk 1.4 Edition. This is a really good book except for multi-demensional array's.

For example:

float[][] example;
example = new float[6][];

This is supposed to declare an array with an X axis of 6 and a Y axis of whatever, but it dosen't work.

I am also using J# to write my program and am having to do this

int[][] a_intArray;
a_intArray = new int[][]
{
        {},
        {0,152,624,29,43,87},
 {0,21,79,425,143,76,92},
 {0,89,76},
 {0,43,27,53,85,76,90},
 {0,34,56,78,14,834},
 {0,90,2,47,324,62,89,53},
 {0,14,70,81}
};

This works, but isn't what is in the book.Why dosen't what the book say work? Is it J# or am I doing it wrong?
dale reed6Person was signed in when posted  1
05-11-2004 04:56 PM ET (US)
Edited by author 05-11-2004 05:01 PM
For those of you participating in AP Computer Science training using J# with .NET, use this forum to post comments and questions.

It's fast, its easy, no login is required, and you may post anonymously if you wish.

For other resources see http://logos.cs.uic.edu/APCS
RSS link What's this?
QuickTopicSM message boards
Over 200,000 topics served
Learn more Frequently asked questions  Acknowledgements
What they're saying about QuickTopic
 Questions, comments, or suggestions? Contact Us
Read our use policy before beginning. We value your privacy; please read our privacy statement.
Copyright ©1999-2006 Internicity Inc. All rights reserved.