= Fortress by Example = Do you want to look and feel Fortress? Are you ready to write Fortress programs? Do you know how one would write quick sort in Fortress? Are you curious how Fortress programs would read from and write to files? Here is a good place to start. We hope to provide many Fortress examples to help you learn Fortress more easily. The examples will show you how a particular problem would be written in Fortress and how a particular Fortress construct would be used. Each example will ideally include lots of explanation as to why something is written the way it is and some metaphors with other languages. Please let us know what problems you would like to write in Fortress and what features you would like to know how to use. The current Fortress examples are: * [wiki:IntegerSquareRoot A simple program to calculate integer square root] * [wiki:Fibonacci Various ways to write Fibonacci] {{{ #!comment * [wiki:Factorial] }}} * [wiki:TicTacToe Tic tac toe] * [wiki:FileReadWrite File reads and writes] * [wiki:BuffonsNeedle Buffons needle] * [wiki:FeatherweightJava Featherweight Java] * [wiki:ComprehendingComprehensions Pythagorean Triples using List Comprehensions] * [wiki:ViscoElastic Relaxation test for a visoelastic material] * [wiki:FortressCommentSyntax Fortress comments can use Wiki Creole markup] * [wiki:strToFloat Very simple string-to-float conversion] Please feel free to include your own examples in Fortress!