TD_C.git
4 years agoCleanups. master
Jérôme Benoit [Mon, 6 Apr 2020 17:13:04 +0000 (19:13 +0200)] 
Cleanups.

4 years agoMerge branch 'master' of git.piment-noir.org:TD_C
Jérôme Benoit [Tue, 18 Feb 2020 03:42:15 +0000 (04:42 +0100)] 
Merge branch 'master' of git.piment-noir.org:TD_C

4 years agoWhitespaces cleqnup.
Jérôme Benoit [Tue, 18 Feb 2020 03:41:26 +0000 (04:41 +0100)] 
Whitespaces cleqnup.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
5 years agoRefine .gitignore.
Jérôme Benoit [Sat, 12 Jan 2019 20:15:16 +0000 (21:15 +0100)] 
Refine .gitignore.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
6 years agoMakefile: Use a variable for DLL archive targets.
Jerome Benoit [Mon, 4 Sep 2017 08:20:31 +0000 (10:20 +0200)] 
Makefile: Use a variable for DLL archive targets.

6 years agoRefine .gitignore.
Jerome Benoit [Mon, 4 Sep 2017 07:59:52 +0000 (09:59 +0200)] 
Refine .gitignore.

6 years agoUse a variable for DLL MIME type.
Jerome Benoit [Sun, 3 Sep 2017 17:06:26 +0000 (19:06 +0200)] 
Use a variable for DLL MIME type.

6 years agoReorder functions list.
Jerome Benoit [Thu, 24 Aug 2017 16:45:53 +0000 (18:45 +0200)] 
Reorder functions list.

6 years agoSpell fix in comment.
Jerome Benoit [Thu, 24 Aug 2017 16:38:29 +0000 (18:38 +0200)] 
Spell fix in comment.

6 years agoMove callback functions into the same file
Jerome Benoit [Thu, 24 Aug 2017 12:18:37 +0000 (14:18 +0200)] 
Move callback functions into the same file

6 years agoRefine .gitignore
BENOIT [Thu, 24 Aug 2017 11:49:35 +0000 (13:49 +0200)] 
Refine .gitignore

6 years agoRefine .gitignore
Jérôme Benoit [Tue, 22 Aug 2017 19:14:32 +0000 (21:14 +0200)] 
Refine .gitignore

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
6 years agoTP_13 exo1: Also use the brand new builsystem that support OS X
Jérôme Benoit [Sat, 3 Jun 2017 15:18:22 +0000 (17:18 +0200)] 
TP_13 exo1: Also use the brand new builsystem that support OS X

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
6 years agoTP_13: Fix the Cygwin support in the buildsystem
Jerome Benoit [Sat, 3 Jun 2017 15:11:22 +0000 (17:11 +0200)] 
TP_13: Fix the Cygwin support in the buildsystem

Signed-off-by: Jerome Benoit <jerome.benoit@sap.com>
6 years agoTP_13: Fix the clean target for Mac OS X
Jérôme Benoit [Sat, 3 Jun 2017 14:45:30 +0000 (16:45 +0200)] 
TP_13: Fix the clean target for Mac OS X

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
6 years agoTP_13: Port the buildsystem to Mac OS X
Jérôme Benoit [Sat, 3 Jun 2017 14:41:50 +0000 (16:41 +0200)] 
TP_13: Port the buildsystem to Mac OS X

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
6 years agoTP_13 exo2: filter out the local library name for cygwin build
Jerome Benoit [Fri, 12 May 2017 21:57:40 +0000 (23:57 +0200)] 
TP_13 exo2: filter out the local library name for cygwin build

Signed-off-by: Jerome Benoit <jerome.benoit@sap.com>
6 years agoAdd TP_4
Jérôme Benoit [Sun, 7 May 2017 13:39:17 +0000 (15:39 +0200)] 
Add TP_4

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
6 years agoTP13 exo2: Remove FIXME comments that have been addressed.
Jérôme Benoit [Sat, 6 May 2017 15:33:16 +0000 (17:33 +0200)] 
TP13 exo2: Remove FIXME comments that have been addressed.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
6 years agoTP13 exo2: Fix off-by-one in the pawns displaying loop
Jérôme Benoit [Sat, 6 May 2017 15:29:44 +0000 (17:29 +0200)] 
TP13 exo2: Fix off-by-one in the pawns  displaying loop

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
6 years agoBe more explicit in Makefiles about external libraries linking
Jérôme Benoit [Fri, 5 May 2017 18:06:07 +0000 (20:06 +0200)] 
Be more explicit in Makefiles about external libraries linking

Beautify a bit the tic-tac-toe displaying

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
6 years agoTP_13 exo2: Spell fix in comment
Jérôme Benoit [Mon, 24 Apr 2017 19:32:41 +0000 (21:32 +0200)] 
TP_13 exo2: Spell fix in comment

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP_13 exo1: Beautify an error message
Jérôme Benoit [Sat, 1 Apr 2017 11:19:48 +0000 (13:19 +0200)] 
TP_13 exo1: Beautify an error message

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP_13 exo2: use C99 struct initializers
Jérôme Benoit [Sat, 1 Apr 2017 11:09:28 +0000 (13:09 +0200)] 
TP_13 exo2: use C99 struct initializers

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP_13 exo1: Fix a memleak on the prompt error handling case
Jérôme Benoit [Thu, 30 Mar 2017 11:40:59 +0000 (13:40 +0200)] 
TP_13 exo1: Fix a memleak on the prompt error handling case

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP 13 exo1: Only free when needed the array
Jérôme Benoit [Wed, 29 Mar 2017 21:24:05 +0000 (23:24 +0200)] 
TP 13 exo1: Only free when needed the array

Needed to fix the memory leaks in case of error

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP_13 exo2: Makefile fixlet
Jérôme Benoit [Tue, 28 Mar 2017 19:28:22 +0000 (21:28 +0200)] 
TP_13 exo2: Makefile fixlet

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP_13: fixlet to a function declaration in a comment
Jérôme Benoit [Mon, 27 Mar 2017 19:36:39 +0000 (21:36 +0200)] 
TP_13: fixlet to a function declaration in a comment

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP 13 exo2: Robustify the current tic-tac-toe implementation
Jérôme Benoit [Thu, 23 Mar 2017 19:48:52 +0000 (20:48 +0100)] 
TP 13 exo2: Robustify the current tic-tac-toe implementation

* Make the round count follow the coordinates array index.
  And simplify all the loop and conditions depending on it;

* Implement the feature allowing to play again.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP 13 exo1: Implement a FIXME on array dynamic resizing
Jerome Benoit [Thu, 23 Mar 2017 15:26:28 +0000 (16:26 +0100)] 
TP 13 exo1: Implement a FIXME on array dynamic resizing

Signed-off-by: Jerome Benoit <jerome.benoit@sap.com>
7 years agoTP 13 exo2: Code cleanups
Jérôme Benoit [Wed, 22 Mar 2017 22:48:08 +0000 (23:48 +0100)] 
TP 13 exo2: Code cleanups

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP 13 exo2: Fix the beginning round of winning conditions check
Jérôme Benoit [Wed, 22 Mar 2017 22:32:31 +0000 (23:32 +0100)] 
TP 13 exo2: Fix the beginning round of winning conditions check

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP_13 exo2: Finish the implementation of a basic tic-tac-toe game.
Jérôme Benoit [Wed, 22 Mar 2017 22:24:34 +0000 (23:24 +0100)] 
TP_13 exo2: Finish the implementation of a basic tic-tac-toe game.

Next will be the AI and the play again feature.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoBuildSystem: Sync with latest in more exercices
Jerome Benoit [Tue, 21 Mar 2017 18:08:10 +0000 (19:08 +0100)] 
BuildSystem: Sync with latest in more exercices

Signed-off-by: Jerome Benoit <jerome.benoit@sap.com>
7 years agoBuildSystem: Permit to differentiate between native DLL and CYGWIN DLL.
Jerome Benoit [Tue, 21 Mar 2017 17:57:35 +0000 (18:57 +0100)] 
BuildSystem: Permit to differentiate between native DLL and CYGWIN DLL.

Signed-off-by: Jerome Benoit <jerome.benoit@sap.com>
7 years agoBuildSystem: Even more sync to latest
Jerome Benoit [Mon, 20 Mar 2017 16:45:36 +0000 (17:45 +0100)] 
BuildSystem: Even more sync to latest

Signed-off-by: Jerome Benoit <jerome.benoit@sap.com>
7 years agoBuildSystem: Sync more exercices with the latest one
Jerome Benoit [Mon, 20 Mar 2017 16:29:05 +0000 (17:29 +0100)] 
BuildSystem: Sync more exercices with the latest one

Signed-off-by: Jerome Benoit <jerome.benoit@sap.com>
7 years agoTP_13 exo2: More explicit name to the includes path variable
Jerome Benoit [Mon, 20 Mar 2017 16:11:08 +0000 (17:11 +0100)] 
TP_13 exo2: More explicit name to the includes path variable

Signed-off-by: Jerome Benoit <jerome.benoit@sap.com>
7 years agoRefinements to .gitignore
Jerome Benoit [Mon, 20 Mar 2017 15:30:54 +0000 (16:30 +0100)] 
Refinements to .gitignore

Signed-off-by: Jerome Benoit <jerome.benoit@sap.com>
7 years agoBuildSystem: Cygwin support for building proper DLL.
Jerome Benoit [Mon, 20 Mar 2017 15:28:29 +0000 (16:28 +0100)] 
BuildSystem: Cygwin support for building proper DLL.

Signed-off-by: Jerome Benoit <jerome.benoit@sap.com>
7 years agoMerge branch 'master' of https://github.com/jerome-benoit/TD_C
Jérôme Benoit [Mon, 20 Mar 2017 14:30:58 +0000 (15:30 +0100)] 
Merge branch 'master' of https://github.com/jerome-benoit/TD_C

7 years agoInitial commit
Jérôme Benoit [Mon, 20 Mar 2017 14:22:50 +0000 (15:22 +0100)] 
Initial commit

7 years agoTP 13 exo2: Implement the missing bits to do a full game.
Jérôme Benoit [Sun, 19 Mar 2017 16:38:11 +0000 (17:38 +0100)] 
TP 13 exo2: Implement the missing bits to do a full game.

Still missing the win condition check.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoRefinement to .gitignore
Jerome Benoit [Sat, 18 Mar 2017 21:50:06 +0000 (22:50 +0100)] 
Refinement to .gitignore

Signed-off-by: Jerome Benoit <jerome.benoit@sap.com>
7 years agoBuildsystem: be more friendly with cygwin environment
Jerome Benoit [Sat, 18 Mar 2017 21:40:40 +0000 (22:40 +0100)] 
Buildsystem: be more friendly with cygwin environment

Disable GOLD linker and some minor code cleanups

Signed-off-by: Jerome Benoit <jerome.benoit@sap.com>
7 years agoTP 13 exo2: preliminary loop for a full tic-tac-toe game for 2 players
Jérôme Benoit [Fri, 17 Mar 2017 20:42:01 +0000 (21:42 +0100)] 
TP 13 exo2: preliminary loop for a full tic-tac-toe game for 2 players

Still a little bit buggy.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP 13 exo2: More routine for
Jérôme Benoit [Thu, 16 Mar 2017 22:08:16 +0000 (23:08 +0100)] 
TP 13 exo2: More routine for

- handle the grid elements;
- print the active elements.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP 11 exo2: sync with the latest Makefile version with LTO and GOLD
Jérôme Benoit [Wed, 15 Mar 2017 22:12:24 +0000 (23:12 +0100)] 
TP 11 exo2: sync with the latest Makefile version with LTO and GOLD
support.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP 13 exo2: Add the code structure and some basic displaying routines for the tic...
Jérôme Benoit [Wed, 15 Mar 2017 22:06:02 +0000 (23:06 +0100)] 
TP 13 exo2: Add the code structure and some basic displaying routines for the tic tac toe game

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP 13 exo1: Give more explicits name to callbacks
Jérôme Benoit [Wed, 15 Mar 2017 18:42:03 +0000 (19:42 +0100)] 
TP 13 exo1: Give more explicits name to callbacks

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP 13 exo1: Enable LTO and GOLD on all build types
Jérôme Benoit [Wed, 15 Mar 2017 10:45:22 +0000 (11:45 +0100)] 
TP 13 exo1: Enable LTO and GOLD on all build types

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP 13 exo1: Add LTO and GOLD support to the Makefile build options
Jérôme Benoit [Wed, 15 Mar 2017 10:42:43 +0000 (11:42 +0100)] 
TP 13 exo1: Add LTO and GOLD support to the Makefile build options

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP 13 exo1: Implement array resizing
Jérôme Benoit [Tue, 14 Mar 2017 22:42:27 +0000 (23:42 +0100)] 
TP 13 exo1: Implement array resizing

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP 13 exo1: implement odd and even elements counting with callbacks
Jérôme Benoit [Tue, 14 Mar 2017 22:11:23 +0000 (23:11 +0100)] 
TP 13 exo1: implement odd and even elements counting with callbacks

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP 13 exo1: Implement all the required features.
Jérôme Benoit [Tue, 14 Mar 2017 21:21:44 +0000 (22:21 +0100)] 
TP 13 exo1: Implement all the required features.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP 13 exo1: Implement more asked features and test them
Jérôme Benoit [Mon, 13 Mar 2017 21:08:42 +0000 (22:08 +0100)] 
TP 13 exo1: Implement more asked features and test them

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP 11 exo1: deconstify where appropriate
Jérôme Benoit [Mon, 13 Mar 2017 14:06:35 +0000 (15:06 +0100)] 
TP 11 exo1: deconstify where appropriate

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP 11 exo1: affecting a value cost less than branching
Jérôme Benoit [Mon, 13 Mar 2017 14:02:15 +0000 (15:02 +0100)] 
TP 11 exo1: affecting a value cost less than branching

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP 11 exo1: simplify the logic in the array creation and resizing
Jérôme Benoit [Mon, 13 Mar 2017 14:00:07 +0000 (15:00 +0100)] 
TP 11 exo1: simplify the logic in the array creation and resizing

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP 13 exo1: return the dynamic array created or modified when necessary
Jérôme Benoit [Mon, 13 Mar 2017 13:45:14 +0000 (14:45 +0100)] 
TP 13 exo1: return the dynamic array created or modified when necessary

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP 13 exo1: create an array in the main()
Jérôme Benoit [Sun, 12 Mar 2017 20:40:38 +0000 (21:40 +0100)] 
TP 13 exo1: create an array in the main()

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP 13 exo1: Add more library functions
Jérôme Benoit [Sun, 12 Mar 2017 20:13:49 +0000 (21:13 +0100)] 
TP 13 exo1: Add more library functions

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP 13 exo1: Rename the integer values swap function
Jérôme Benoit [Fri, 10 Mar 2017 17:09:32 +0000 (18:09 +0100)] 
TP 13 exo1: Rename the integer values swap function

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoFix a typo in the usage description of the new and shiny Makefile
Jérôme Benoit [Fri, 10 Mar 2017 08:40:32 +0000 (09:40 +0100)] 
Fix a typo in the usage description of the new and shiny Makefile

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP 7 exo1: Remove a useless branching in a int* swap function
Jérôme Benoit [Fri, 10 Mar 2017 08:29:28 +0000 (09:29 +0100)] 
TP 7 exo1: Remove a useless branching in a int* swap function

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP 11 exo2: Reorganize the directories structure to make use of the
Jérôme Benoit [Thu, 9 Mar 2017 21:33:56 +0000 (22:33 +0100)] 
TP 11 exo2: Reorganize the directories structure to make use of the
new and shiny Makefile cleaned up.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP 13 exo1: Document some more the Makefile usage
Jérôme Benoit [Thu, 9 Mar 2017 21:24:21 +0000 (22:24 +0100)] 
TP 13 exo1: Document some more the Makefile usage

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP 13 exo1: Fix a typo in the Makefile
Jérôme Benoit [Thu, 9 Mar 2017 21:11:17 +0000 (22:11 +0100)] 
TP 13 exo1: Fix a typo in the Makefile

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP 13 exo1: Document a bit the Makefile usage
Jérôme Benoit [Thu, 9 Mar 2017 21:03:26 +0000 (22:03 +0100)] 
TP 13 exo1: Document a bit the Makefile usage

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP 13 exo1: Add libraries functions already written
Jérôme Benoit [Thu, 9 Mar 2017 20:53:57 +0000 (21:53 +0100)] 
TP 13 exo1: Add libraries functions already written

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP 13 exo1: Finish the buildsystem and the directories structure
Jérôme Benoit [Thu, 9 Mar 2017 19:04:26 +0000 (20:04 +0100)] 
TP 13 exo1: Finish the buildsystem and the directories structure

Add include guards to each header file

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP 13 exo1: Makefile:
Jérôme Benoit [Thu, 9 Mar 2017 14:07:44 +0000 (15:07 +0100)] 
TP 13 exo1: Makefile:

* Properly map one .c file to one .d and one .o file
* Add local headers handling

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP 11 exo1: Makefile: differenciate the compiliator flags for libraries
Jérôme Benoit [Thu, 9 Mar 2017 12:36:17 +0000 (13:36 +0100)] 
TP 11 exo1: Makefile: differenciate the compiliator flags for libraries
building.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP_13 exo1: Commit the basic exercice structure with a smart buildsystem
Jérôme Benoit [Thu, 9 Mar 2017 11:12:01 +0000 (12:12 +0100)] 
TP_13 exo1: Commit the basic exercice structure with a smart buildsystem

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP 12 exo3: Add a basic exercice skeleton for file copy and CLI
Jérôme Benoit [Wed, 8 Mar 2017 22:19:44 +0000 (23:19 +0100)] 
TP 12 exo3: Add a basic exercice skeleton for file copy and CLI
arguments handling

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoFix a typo in the GCC Makefile flags
Jérôme Benoit [Wed, 8 Mar 2017 21:52:13 +0000 (22:52 +0100)] 
Fix a typo in the GCC Makefile flags

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP 12 exo2: to not handle scanf() return code for now
Jérôme Benoit [Wed, 8 Mar 2017 21:05:01 +0000 (22:05 +0100)] 
TP 12 exo2: to not handle scanf() return code for now

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP 12 exo2: Basic file manipulations
Jérôme Benoit [Wed, 8 Mar 2017 15:34:47 +0000 (16:34 +0100)] 
TP 12 exo2: Basic file manipulations

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP_12 exo1: Use a callback in the bubble sort to a compare function
Jérôme Benoit [Wed, 8 Mar 2017 14:48:07 +0000 (15:48 +0100)] 
TP_12 exo1: Use a callback in the bubble sort to a compare function
pointer

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP 11 exo2: avoid a function run at each for() loop iteration
Jérôme Benoit [Wed, 8 Mar 2017 14:00:11 +0000 (15:00 +0100)] 
TP 11 exo2: avoid a function run at each for() loop iteration

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP11 exo3: Remove a compiler warning
Jérôme Benoit [Wed, 8 Mar 2017 08:15:09 +0000 (09:15 +0100)] 
TP11 exo3: Remove a compiler warning

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP11 exo3: Push the trivial implementation
Jérôme Benoit [Tue, 7 Mar 2017 20:51:45 +0000 (21:51 +0100)] 
TP11 exo3: Push the trivial implementation

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP11 exo2: Finish the asked features implementation
Jérôme Benoit [Tue, 7 Mar 2017 20:33:22 +0000 (21:33 +0100)] 
TP11 exo2: Finish the asked features implementation

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP11 exo2: Respect the specification for displayList() function
Jérôme Benoit [Tue, 7 Mar 2017 19:40:32 +0000 (20:40 +0100)] 
TP11 exo2: Respect the specification for displayList() function

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP11 exo2: Makefile: Add a static binary target and some cleanups
Jérôme Benoit [Tue, 7 Mar 2017 19:27:44 +0000 (20:27 +0100)] 
TP11 exo2: Makefile: Add a static binary target and some cleanups

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP11: Rename the static binary target to express that it's not
Jérôme Benoit [Tue, 7 Mar 2017 17:47:05 +0000 (18:47 +0100)] 
TP11: Rename the static binary target to express that it's not
statically linked binary but linked only against the embedded libraries

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP11 exo2: Add basics UI functions and integrate them is the static and
Jérôme Benoit [Tue, 7 Mar 2017 15:54:13 +0000 (16:54 +0100)] 
TP11 exo2: Add basics UI functions and integrate them is the static and
shared library.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP11 exo1: Properly make linked list function a library shared and static
Jérôme Benoit [Tue, 7 Mar 2017 15:20:48 +0000 (16:20 +0100)] 
TP11 exo1: Properly make linked list function a library shared and static

And build two new binaries for static and dynamic linking against the
library.

To launch the dynamic binary: LD_LIBRARY_PATH=. ./exo1.dynamic

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agofixlet to .gitignore
Jérôme Benoit [Tue, 7 Mar 2017 09:33:44 +0000 (10:33 +0100)] 
fixlet to .gitignore

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP 11 exo1: permit to specify linker libs to all relevant target in the
Jérôme Benoit [Mon, 6 Mar 2017 20:37:51 +0000 (21:37 +0100)] 
TP 11 exo1: permit to specify linker libs to all relevant target in the
Makefile

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP 11 exo1: Fix the Makefile to produce the shared and the static
Jérôme Benoit [Mon, 6 Mar 2017 20:21:17 +0000 (21:21 +0100)] 
TP 11 exo1: Fix the Makefile to produce the shared and the static
library for linked list

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP 11 exo1: Add the tweaked Makefile to make the linked list a library
Jérôme Benoit [Mon, 6 Mar 2017 16:00:12 +0000 (17:00 +0100)] 
TP 11 exo1: Add the tweaked Makefile to make the linked list a library

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
7 years agoTP9 exo2: Code cleanup (indentation and unused header declaration)
Jerome Benoit [Sun, 5 Mar 2017 22:29:26 +0000 (23:29 +0100)] 
TP9 exo2: Code cleanup (indentation and unused header declaration)

Signed-off-by: Jerome Benoit <jerome.benoit@sap.com>
7 years agoTP 9 exo2: Implement a merge sort function for the linked list.
Jerome Benoit [Sun, 5 Mar 2017 22:14:40 +0000 (23:14 +0100)] 
TP 9 exo2: Implement a merge sort function for the linked list.

Signed-off-by: Jerome Benoit <jerome.benoit@sap.com>
7 years agoRefinement to .gitignore
Jerome Benoit [Sun, 5 Mar 2017 08:58:26 +0000 (09:58 +0100)] 
Refinement to .gitignore

Signed-off-by: Jerome Benoit <jerome.benoit@sap.com>
7 years agoTP 9 exo2: fix a typo in a comment.
Jerome Benoit [Sat, 4 Mar 2017 18:41:43 +0000 (19:41 +0100)] 
TP 9 exo2: fix a typo in a comment.

Signed-off-by: Jerome Benoit <jerome.benoit@sap.com>
7 years agoTP 9 exo2: correct some types mismatching.
Jerome Benoit [Fri, 3 Mar 2017 22:58:02 +0000 (23:58 +0100)] 
TP 9 exo2: correct some types mismatching.

Signed-off-by: Jerome Benoit <jerome.benoit@sap.com>
7 years agoTP 9 exo2: Add list_concat() linked list helper function.
Jerome Benoit [Fri, 3 Mar 2017 22:48:46 +0000 (23:48 +0100)] 
TP 9 exo2: Add list_concat() linked list helper function.

Signed-off-by: Jerome Benoit <jerome.benoit@sap.com>
7 years agoTP 9 exo2: Add link_sort linked list helper function
Jerome Benoit [Fri, 3 Mar 2017 21:45:07 +0000 (22:45 +0100)] 
TP 9 exo2: Add link_sort linked list helper function

The sorting algorithm is bubble sort.

Signed-off-by: Jerome Benoit <jerome.benoit@sap.com>
7 years agoTP 9 exo2: Better handling of special cases in list_delete()
Jerome Benoit [Fri, 3 Mar 2017 19:29:20 +0000 (20:29 +0100)] 
TP 9 exo2: Better handling of special cases in list_delete()

Signed-off-by: Jerome Benoit <jerome.benoit@sap.com>