Select Git revision
dbp-matomo.js
-
Activate Matomo logging only after user logged in successfully. Deactivate if user logs out.
Activate Matomo logging only after user logged in successfully. Deactivate if user logs out.
a2.c 1.37 KiB
#include "framework.h"
//-----------------------------------------------------------------------------
// Computes and returns the length of a string
//
// @param text string to check
//
// @return length of the string
//
int stringLength(char *text);
//-----------------------------------------------------------------------------
// Changes a string to upper case
//
// @param text string to modify
//
void toUpper(char *text);
//-----------------------------------------------------------------------------
// Replace all the occurences of a letter in a string with another letter
//
// @param text string to modify
// @param original letter to replace
// @param new_char letter used for the substitution
//
void replaceLetters(char *text, char original, char new_char);
//-----------------------------------------------------------------------------
int stringLength(char *text)
{
// TODO: Implement
// WARNING: Do not change the signature of the function
return 0;
}
//-----------------------------------------------------------------------------
void toUpper(char *text)
{
// TODO: Implement
// WARNING: Do not change the signature of the function
}
//-----------------------------------------------------------------------------
void replaceLetters(char *text, char original, char new_char)
{
// TODO: Implement
// WARNING: Do not change the signature of the function
}