![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Expert Programmer
|
typedef in java?
I'm looking for an efficient way to store two values, such as points (x,y), without using objects if possible. They will be stored in an array such as points[]. What is the easiest way to do this?
|
|
|
|
|
|
#2 |
|
Programmer
Join Date: Nov 2004
Posts: 84
Rep Power: 4
![]() |
Right off the top of my head; a simple text string, a comma delimited string, a two dimensional array..
Typedefs are on the few things I am beginning to appreciate about c/c++ (no offense to anyone ).
__________________
HijackThis Team-SFDC |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|