The Official Forum  

Go Back   The Official Forum > Basketball
Register FAQ Community Calendar Today's Posts Search

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old Mon Dec 12, 2011, 02:06am
Official Forum Member
 
Join Date: Nov 2003
Posts: 115
Quote:
Originally Posted by jTheUmp View Post
Computer programmer humor. If you're writing computer code, you get to declare a variable as a specific type, and the type you declare has certain (that may be different for other types of variables).

Code:
char string[4] = "5", 
char string[4] = "05"
These are examples of character strings. In this case, each one is 4 characters long. In these examples, we have " 5" and " 05" respectively. Since character strings are compared literally, these two values are NOT identical.
Those are actually arrays.
Reply With Quote
  #2 (permalink)  
Old Mon Dec 12, 2011, 07:25am
Esteemed Forum Member
 
Join Date: Aug 2005
Location: Connecticut
Posts: 23,524
And I'm One Who Doesn't ...

Quote:
Originally Posted by jTheUmp View Post
Computer programmers.
Quote:
Originally Posted by ga314ref View Post
Those are actually arrays.
There are only 10 types of people in the world: those who understand binary and those who don't.
__________________
"For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life." (John 3:16)

“I was in prison and you came to visit me.” (Matthew 25:36)
Reply With Quote
  #3 (permalink)  
Old Mon Dec 12, 2011, 09:42am
TODO: creative title here
 
Join Date: Sep 2009
Location: Minneapolis, MN
Posts: 1,250
Quote:
Originally Posted by ga314ref View Post
Those are actually arrays.
True... I was just trying to simplify it a bit for the non-computer-programmer types in the audience.

(and, of course, some languages treat Strings and Character arrays as if they're identical... which they probably are once you get into the compiled code).
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is "the patient whistle" and "possession consequence" ruining the game? fiasco Basketball 46 Fri Dec 02, 2011 08:43am
ABC's "Nightline" examines "worst calls ever" tonight pizanno Basketball 27 Fri Jul 04, 2008 06:08am
2007 NFHS Rules Changes - "Step and Reach" Dakota Softball 8 Mon Jul 10, 2006 02:46pm


All times are GMT -5. The time now is 12:01am.



Search Engine Friendly URLs by vBSEO 3.3.0 RC1