exercism

Exercism solutions.
git clone git://code.dwrz.net/exercism
Log | Files | Refs

README.md (1867B)


      1 # Hello World
      2 
      3 The classical introductory exercise. Just say "Hello, World!".
      4 
      5 ["Hello, World!"](http://en.wikipedia.org/wiki/%22Hello,_world!%22_program) is
      6 the traditional first program for beginning programming in a new language
      7 or environment.
      8 
      9 The objectives are simple:
     10 
     11 - Write a function that returns the string "Hello, World!".
     12 - Run the test suite and make sure that it succeeds.
     13 - Submit your solution and check it at the website.
     14 
     15 If everything goes well, you will be ready to fetch your first real exercise.
     16 
     17 ## Getting Started
     18 
     19 Make sure you have read the "Guides" section of the
     20 [C track](https://exercism.io/my/tracks/c) on the Exercism site. This covers
     21 the basic information on setting up the development environment expected
     22 by the exercises.
     23 
     24 
     25 ## Passing the Tests
     26 
     27 Get the first test compiling, linking and passing by following the [three
     28 rules of test-driven development][3-tdd-rules].
     29 
     30 The included makefile can be used to create and run the tests using the `test`
     31 task.
     32 
     33     make test
     34 
     35 Create just the functions you need to satisfy any compiler errors and get the
     36 test to fail. Then write just enough code to get the test to pass. Once you've
     37 done that, move onto the next test.
     38 
     39 [3-tdd-rules]: http://butunclebob.com/ArticleS.UncleBob.TheThreeRulesOfTdd
     40 
     41 As you progress through the tests, take the time to refactor your
     42 implementation for readability and expressiveness and then go on to the next
     43 test.
     44 
     45 Try to use standard C99 facilities in preference to writing your own
     46 low-level algorithms or facilities by hand.
     47 
     48 ## Source
     49 
     50 This is an exercise to introduce users to using Exercism [http://en.wikipedia.org/wiki/%22Hello,_world!%22_program](http://en.wikipedia.org/wiki/%22Hello,_world!%22_program)
     51 
     52 ## Submitting Incomplete Solutions
     53 It's possible to submit an incomplete solution so you can see how others have completed the exercise.