|
@ -1,6 +1,10 @@ |
|
|
#include "helperFunctions.h" |
|
|
#include "helperFunctions.h" |
|
|
/*Code written by Julius Philipp Engel, fdai7057*/ |
|
|
/*Code written by Julius Philipp Engel, fdai7057*/ |
|
|
|
|
|
|
|
|
|
|
|
int main(){ |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
char *stringConcatenation(char *string_1, char *string_2) |
|
|
char *stringConcatenation(char *string_1, char *string_2) |
|
|
{ |
|
|
{ |
|
|
int lengthStringOne = strlen(string_1); |
|
|
int lengthStringOne = strlen(string_1); |
|
@ -138,6 +142,12 @@ double balanceToDouble(char *balanceAsString) |
|
|
return sign * result / power; |
|
|
return sign * result / power; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
unsigned int calLen(char *str){ |
|
|
|
|
|
int len = 0; |
|
|
|
|
|
while(*(str+len)!='\0') ++len; |
|
|
|
|
|
return len; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
bool characterIsUpperCase(char inputCharacter) |
|
|
bool characterIsUpperCase(char inputCharacter) |
|
|
{ |
|
|
{ |
|
|
bool result = (inputCharacter>='A'&&inputCharacter<='Z') ? true : false; |
|
|
bool result = (inputCharacter>='A'&&inputCharacter<='Z') ? true : false; |
|
|