You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Charles Reid
be29e8e2b0
|
8 years ago | |
---|---|---|
awk | 8 years ago | |
bash | 8 years ago | |
c | 8 years ago | |
cpp | 8 years ago | |
fortran | 8 years ago | |
go | 8 years ago | |
haskell | 8 years ago | |
java | 8 years ago | |
kotlin | 8 years ago | |
lisp | 8 years ago | |
octave | 8 years ago | |
perl | 8 years ago | |
php | 8 years ago | |
python | 8 years ago | |
ruby | 8 years ago | |
rust | 8 years ago | |
.gitignore | 8 years ago | |
README.md | 8 years ago |
README.md
hello-world
Simple "hello world"-style template programs. These will get you started writing programs in various languages.
Inspired by Rosetta Code
See also Rosetta Code for hello world web server
A Partial List of Interesting Languages
A List of Languages:
- c
- c++
- c++ with boost (?)
- java
- octave
- python
- awk
- bash
- fortran
- go
- haskell
- lisp
- perl
- php
- ruby
List of Programs
List of Programs Implemented for All Languages
Hello World:
- Your basic hello world program, prints something and exits.
What time is it:
- Prints the date as YYYY-MM-DD
- Prints the time as HH:MM:SS
- Shows how to get dates and times in the language, and format them for a standard output.
99 Bottles:
- Prints the lyrics to "99 Bottles of Beer on the Wall"
- Shows looping in the language.
Factorial:
- Implements the factorial function:
4! = 4*3*2*1
- Uses iterative and recursive versions
HTTP Get:
- Implements accessing an HTTP resource using get
- Link
HTTP Server:
- Implements running an http server
- Link
Calculus: Simpson's Rule for Integration
- Implements composite Simpson's Rule to integrate a function over an interval
[a,b]
usingn
approximating points
N Queens:
- Solve the N queens problem using integer arrays, with minimal object-oriented fluff.
Programs In Progress
HTTP Post:
- Access an API using POST request
Algebra: Log and Trig Tables
- Print out logarithm and trigonometric tables
- Exercises trigonometric functions, formatted print functionality, loops
Calculus: Taylor Series Approximation of Sine Function
- Implements a Taylor Series to approximate a sine function
Calculus: Newton's Method
- Implements Newton's Method to compute the roots of an arbitrary function f(x)
Programs To Implement
Arrays:
- Use a native built-in data type to store a 1D array of data
Matrix inversion:
- Gauss-Jordan elimination or back-substitution algorithm
Vector products:
- Given three three-dimensional vectors, compute dot/cross product, scalar/vector triple products
- http://rosettacode.org/wiki/Vector_products
Time a function:
- Time a function.
- http://rosettacode.org/wiki/Time_a_function
Calculus:
- Compute the numerical derivative of a function
- Compute the numerical integral of a function
- Integrate a differential equation