The Official Forum  

Go Back   The Official Forum > Basketball

 
 
LinkBack Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #13 (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
 

Bookmarks

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

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 11:44am.



Search Engine Friendly URLs by vBSEO 3.3.0 RC1