Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
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
Comments
Sergey Alexandrovich Kryukov 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 12-Nov-12 4:24am    
Please show the code and the errors you are getting, we cannot guess what they are.

1 solution

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.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900