Original Post
I'm new at C++, and i was wondering how to make a custom type, like angle, that would be an integer like this:
0
1
2
..
358
359 and if we do a ++ on this value, it would return to 0, like a loop (like the -32767->32767 integer values)...
An enum with 1,2,3,4,5,6...,359 would probably function, but isn't there any "better" maner ?
Thanks
"Everyday above ground is a good day" (Mel in Scarface)
Edited by - Al MacInnis on February 19, 2002 5:41:41 PM