Search:

Type: Posts; User: anduril462

Search: Search took 0.04 seconds.

  1. Sorry this is coming through in spurts. A few...

    Sorry this is coming through in spurts. A few more things:

    Your Done() function should probably take the pattern length as a parameter, so you only check valid spots in the array to see if you're...
  2. You should learn to use a debugger, they're a...

    You should learn to use a debugger, they're a great programming tool:


    $ gdb ./mastermind
    GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04
    Copyright (C) 2012 Free Software Foundation,...
  3. Compile with your warnings turned up (for gcc,...

    Compile with your warnings turned up (for gcc, use the "-Wall" option, other compilers, read the documentation):


    $ make mastermind
    gcc -Wall -Werror -ggdb3 -std=c99 -pedantic -lm -lpthread...
Results 1 to 3 of 3