Click here to Skip to main content
11,636,889 members (68,792 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Java
Hi mates,
I have tried a shortcut for finding the absolute value of a point(x,y) stored in a[x][y] by this method abs(a[x][y]),however i am getting compile time error.Is it a wrong approach?any help?
Posted 11-Nov-12 14:48pm
Comments
Sergey Alexandrovich Kryukov at 11-Nov-12 22:52pm
   
Why asking if it's wrong or not if you already have a compilation error? Why asking about a compilation error if you don't show the code? What is the "absolute value of the point"? As a vector or what? Unfortunately, the question shows that you have no idea what and array is, to start with.
--SA
Richard MacCutchan at 12-Nov-12 4:24am
   
Please show the code and the errors you are getting, we cannot guess what they are.

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Please use Eclipse or Netbeans for development. Both are free and will guide you through the process of coding.
Compiler Errors are there for a reason, a decent IDE will provide you more info about that.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 stibee 313
1 jyo.net 295
2 OriginalGriff 285
3 Suvendu Shekhar Giri 205
4 Sergey Alexandrovich Kryukov 194
0 OriginalGriff 8,941
1 Sergey Alexandrovich Kryukov 8,493
2 Mika Wendelius 6,909
3 F-ES Sitecore 2,388
4 Suvendu Shekhar Giri 2,320


Advertise | Privacy | Mobile
Web02 | 2.8.150728.1 | Last Updated 12 Nov 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100