Go to Post Being a mentor doesn't have an age requirement. As long as you are positively influencing someone you could be called a mentor and a role model. - EricLeifermann [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 11-01-2005, 15:07
Aalfabob's Avatar
Aalfabob Aalfabob is offline
Registered User
#0201 (FEDS)
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Rochester, MI
Posts: 27
Aalfabob is on a distinguished road
Send a message via AIM to Aalfabob
Using multidimension arrays?

I made some code that involves a multi dimension array, and the compiler is coming up with a syntax error.

ATan [32,32];

Are there anyways to fix this so that I can use the array?
  #2   Spotlight this post!  
Unread 11-01-2005, 15:15
Dave Scheck's Avatar
Dave Scheck Dave Scheck is offline
Registered User
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Feb 2003
Rookie Year: 2002
Location: Arlington Heights, IL
Posts: 574
Dave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond repute
Re: Using multidimension arrays?

Quote:
Originally Posted by Aalfabob
I made some code that involves a multi dimension array, and the compiler is coming up with a syntax error.

ATan [32,32];

Are there anyways to fix this so that I can use the array?
This is incorrect C syntax. You want to write that as follows.
Code:
ATan[32][32];
More info about arrays can be found by looking here.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Arrays on the PIC? scitobor 617 Programming 8 06-12-2004 09:10
EduCAD and Arrays!!!!! Sachiel7 Programming 14 03-11-2003 03:21


All times are GMT -5. The time now is 02:48.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi