Initial commit
This commit is contained in:
commit
15c381aaae
19 changed files with 828 additions and 0 deletions
25
reverse_string.h
Normal file
25
reverse_string.h
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
/*----------------------------------------------------------
|
||||
* HTBLA-Leonding
|
||||
* ---------------------------------------------------------
|
||||
* Title: Reverse String
|
||||
* Author: */ your name /*
|
||||
* ----------------------------------------------------------
|
||||
* Description:
|
||||
* Recursive and iterative implementation of an algorithm that
|
||||
* reverses a given string.
|
||||
* ----------------------------------------------------------
|
||||
*/
|
||||
|
||||
/* *************************************************************
|
||||
* see corresponding c-file for instructions
|
||||
***************************************************************/
|
||||
|
||||
#ifndef ___REVERSE_STRING_H
|
||||
#define ___REVERSE_STRING_H
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
void reverse_string_recursive(char* str, int start, int end);
|
||||
void reverse_string_iterative(char* str, int start, int end);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue