Difference between revisions of "Guides"

From Progzoo
Jump to: navigation, search
(Top tips)
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Top tips==
+
{{topTenTips}}{{String Functions}}{{Simple Tests}}{{Graphics}}
<div class='guidelist'>
+
{{Database}}
{{topTenTips}} The top ten programming tips - things you need to know.
+
[[Read XML]]; [[Define a Class]]
</div>
 
<div style='clear:both'> </div>
 
 
 
==String==
 
<div class='guidelist'>
 
{{String Functions}} A string is a list of characters.
 
</div>
 
<div style='clear:right'> </div>
 
==Graphics==
 
<div class='guidelist'>{{Graphics}}
 
</div>
 
<div style='clear:right'> </div>
 
 
 
 
 
[[Read From a Database]]; [[Read XML]]; [[Define a Class]]
 
  
 
==Basics==
 
==Basics==
Line 24: Line 9:
 
==Data Types==
 
==Data Types==
 
Creating variables of different types. Converting between variable types. Using 3rd party libraries. Creating your own data types. Arrays, hash tables and dates.
 
Creating variables of different types. Converting between variable types. Using 3rd party libraries. Creating your own data types. Arrays, hash tables and dates.
 +
*[[HashMap]] is a collection - you can reference a value using a key. The keys are often strings.
 +
*[[ArrayList]] is like a normal array but it can grow and shrink.
 +
 
==Control structures==
 
==Control structures==
 
while, for, foreach, if, return, break and other constructs
 
while, for, foreach, if, return, break and other constructs
==Tests==
+
 
different ways to test conditions
 
==Input and output==
 
options for reading and writing data to files and to databases network access.
 
==Graphics==
 
*[[Drawing Rectangles]]
 
*[[Drawing Lines]]:
 
*[[Drawing Text]]; [[Use Transport Font]]
 
*[[Smoothing]]:
 
*[[Polygons]]:
 
==Graphic User Interface==
 
Buttons, text boxes that users can see and control.
 
 
==Programming techniques==
 
==Programming techniques==
 
[[Using an accumulator]], recursion, function composition.
 
[[Using an accumulator]], recursion, function composition.

Latest revision as of 22:21, 4 January 2010