Difference between revisions of "C++:Tutorials"

From Progzoo
Jump to: navigation, search
Line 1: Line 1:
 
A step by step guide to programming. Each set of tutorials provides tasks for the student to complete.
 
A step by step guide to programming. Each set of tutorials provides tasks for the student to complete.
;You can practice using graphics commands to draw the flags of different countries.
+
==Drawing==
:{{Flags Tutorial}}
+
<div class='tutdesc'>
;You can learn how to test conditions and filter results.
+
{{Flags Tutorial}}Practice using graphics commands to draw the flags of different countries.
:{{World Factbook Tutorial}}
 
;You can practice using number functions and operators.
 
:{{Numeric Functions Tutorial}}
 
;You can test strings
 
:{{String Test Tutorial}}
 
;Practice tests on integers
 
:{{Boxes Tutorial}}
 
;Practice for loops
 
:{{Bricks Tutorial}}
 
  
 +
These examples provide students with the opportunity to become familiar with the basic features of the language. Each task can be completed using a sequence of commands. It is hoped that students will become familiar with the basics of the language: the use of brackets, commas, quotes and semi-colons.
 +
</div>
 +
<div style='clear:both'> </div>
 +
==If==
 +
<div class='tutdesc'>
 +
{{World Factbook Tutorial}}Use <code>if</code> clauses to selectively print details of some countries but not others.</div>
 +
<div style='clear:both'> </div>
 +
==Numbers==
 +
<div class='tutdesc'>
 +
{{Numeric Functions Tutorial}}Practice using number functions and operators.</div>
 +
<div style='clear:both'> </div>
 +
==Strings==
 +
<div class='tutdesc'>
 +
{{String Test Tutorial}}Use string functions to test a list of Greek names</div>
 +
<div style='clear:both'> </div>
 +
==Boxes==
 +
<div class='tutdesc'>
 +
{{Boxes Tutorial}}Create patterns on a grid. This exercise uses integer functions and operators.
 +
</div>
 +
<div style='clear:both'> </div>
 +
==Bricks==
 +
<div class='tutdesc'>
 +
{{Bricks Tutorial}}Practice for loops. In these problems you use bricks to build walls.
 +
</div>
 +
<div style='clear:both'> </div>
 +
==Accumulating==
 +
<div class='tutdesc'>
 +
{{Accumulating Variable Tutorial}}Create and accumulating variable and use it to sum, count and more.
 +
<div style='clear:both'> </div>
 +
</div>
 +
#[[Tutorial/World Factbook|World Factbook]]: In which we process data on countries.
 +
#[[Tutorial/Function|Functions]]: In which we calculate values
 +
#[[Tutorial/Strings|Strings]]: In which we process ancient Greek
 +
#[[Tutorial/Boxes|Boxes]]: In which we test numbers.
 +
#[[Songs]]: In which we generate repetitive songs.
 +
#[[Tutorial/Bricks|Bricks]]: In which we practice <code>for</code> loops
 +
#[[Tutorial/Accumulate|Accumulate]]: In which we accumulate over a list.
 +
#[[Tutorial/Accumulate2|Accumulate 2]]: In which we accumulate over a file.
 +
#[[DOM]]: In which we access the Document Object Model for XML.
 +
#[[SAX]]: In which we access the "Simple API for XML".
  
 
+
==Old Addresses==
A step by step guide to programming. Each set of tutorials provides tasks for the student to complete.
+
#[[Tutorial/Flags|Flags]]: In which we draw pictures.
 +
#[[Flags]]: In which we draw pictures.
 +
#[[World Factbook]]: In which we process data on countries.
 +
#[[Function]]: In which we calculate values
 +
#[[Strings]]: In which we process ancient Greek
 +
#[[Songs]]: In which we generate repetitive songs.
 +
#[[Bricks]]: In which we practice <code>for</code> loops
 +
#[[Accumulate]]: In which we count, add and perform other calculations.
 +
#[[DOM]]: In which we access the Document Object Model for XML.
 +
#[[SAX]]: In which we access the "Simple API for XML".
  
 
#[[CPP:Tutorial/Flags|Flags]]: In which we draw pictures.
 
#[[CPP:Tutorial/Flags|Flags]]: In which we draw pictures.

Revision as of 10:45, 13 April 2008

A step by step guide to programming. Each set of tutorials provides tasks for the student to complete.

Drawing

Practice using graphics commands to draw the flags of different countries.

These examples provide students with the opportunity to become familiar with the basic features of the language. Each task can be completed using a sequence of commands. It is hoped that students will become familiar with the basics of the language: the use of brackets, commas, quotes and semi-colons.

If

Numbers

Strings

Use string functions to test a list of Greek names

Boxes

Create patterns on a grid. This exercise uses integer functions and operators.

Bricks

Practice for loops. In these problems you use bricks to build walls.

Accumulating

Template:Accumulating Variable TutorialCreate and accumulating variable and use it to sum, count and more.

  1. World Factbook: In which we process data on countries.
  2. Functions: In which we calculate values
  3. Strings: In which we process ancient Greek
  4. Boxes: In which we test numbers.
  5. Songs: In which we generate repetitive songs.
  6. Bricks: In which we practice for loops
  7. Accumulate: In which we accumulate over a list.
  8. Accumulate 2: In which we accumulate over a file.
  9. DOM: In which we access the Document Object Model for XML.
  10. SAX: In which we access the "Simple API for XML".

Old Addresses

  1. Flags: In which we draw pictures.
  2. Flags: In which we draw pictures.
  3. World Factbook: In which we process data on countries.
  4. Function: In which we calculate values
  5. Strings: In which we process ancient Greek
  6. Songs: In which we generate repetitive songs.
  7. Bricks: In which we practice for loops
  8. Accumulate: In which we count, add and perform other calculations.
  9. DOM: In which we access the Document Object Model for XML.
  10. SAX: In which we access the "Simple API for XML".
  1. Flags: In which we draw pictures.