My crate or yours?
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Spotlight this post!  
Unread 24-01-2007, 22:58
brianafischer brianafischer is offline
Registered User
FRC #0503 (Frog Force)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2003
Location: Michigan
Posts: 17
brianafischer is on a distinguished road
Re: Typecasting Resources

Quote:
Originally Posted by TimCraig View Post
I suspect the underlying problem is that the students don't understand the size implications of the different variable types and what happens when you invoke arithmetic operations where the result exceeds that size. Or just how easy it is to exceed the size. Simply adding two quantities can produce an overflow. Also, with integer arithmetic the order the operations are specified can how a profound impact on the result. Understanding these topics is required to understand why most of the casting that is needed to program the FIRST RC is necessary.
That sums it up pretty well. I plan on creating a resource to spread the understanding of this issue. It is mentioned sporadically, but never really explained in the FIRST documents that I have browsed...

Please post more info/examples on this topic if you can!
 


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
Resources Peg Cwiakala General Forum 1 31-03-2006 07:21
Rookie Resources... Gurdian General Forum 5 13-03-2006 07:53
Team Resources alfman05302001 General Forum 4 04-05-2004 15:51
List of Resources? Eric Bareiss General Forum 9 31-01-2004 07:51
Resources archiver 2000 1 23-06-2002 23:49


All times are GMT -5. The time now is 03:49.

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