mirror of
https://github.com/theoludwig/programming-challenges.git
synced 2024-12-08 00:45:29 +01:00
20 lines
377 B
C
20 lines
377 B
C
#ifndef __CHARACTER__
|
|
#define __CHARACTER__
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
|
|
/**
|
|
* @brief Append a character to a string, assuming string points to an array
|
|
* with enough space.
|
|
*
|
|
* @param string
|
|
* @param character
|
|
*/
|
|
void character_append(char* string, char character);
|
|
|
|
void character_print(char* character, size_t number_of_times);
|
|
|
|
#endif
|