Skip to content
Snippets Groups Projects
Select Git revision
  • 9dc05ecda9a2fcf25d2d4cee0c99b64e0a19e41a
  • main default protected
  • renovate/lock-file-maintenance
  • demo protected
  • person-select-custom
  • dbp-translation-component
  • icon-set-mapping
  • port-i18next-parser
  • remove-sentry
  • favorites-and-recent-files
  • revert-6c632dc6
  • lit2
  • advertisement
  • wc-part
  • automagic
  • publish
  • wip-cleanup
  • demo-file-handling
18 results

dbp-matomo.js

Blame
  • 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
    }