50 Commits (afa674f8d20c26af2a023b9c66eaf639411a4e0f)

Author SHA1 Message Date
fdai7057 afa674f8d2 refactoring: Where possible, remove the use of printf() and use puts() instead in customerMenu.c. One advantage is that it prints the new line character automatically. 2 years ago
fdai7057 ae13e9fbd1 prepare merge from feature/customer-menu into development 2 years ago
fdai7057 1d3092544f Add new cases inside the switch of the function errorMessage(). Remove the call to the function exit() inside errorMessage(). It is now done by the function that calls it. Now the different return values of this function make sense. 2 years ago
fdai7057 1d49c20634 Call to errorMessage() with error code -12 in collectCustomerProperties if the user enters too many digits for the account balance. 2 years ago
fdai7057 58704be59a Modification of the function collectCustomerProperties. It now contains a call to balanceToDouble(). The reason is: The function scanf() is eliminated. Instead, the input is completely handled by getchar(). Each character is stored consecutively. Thus it can be the parameter for balanceToDouble(). 2 years ago
fdai7057 fe311209d7 refactoring: rename stod to balanceToDouble and its internal variable. The purpose of this function is to convert the user input for the account balance into a double and the new names states this purpose better. 2 years ago
fdai7057 ac04c8d244 Implementation of function stod() and rename file stringManipulation.{c,h} to helperFunctions.{c,h} because the functions implemented there address different problems and not only string-specific problems. 2 years ago
fdai7057 be8ceb2652 Modified error handling. The error for invalid input for forename and surname when creating a new customer account is caught. 2 years ago
fdai7057 a2730ad965 refactoring: Rename one variable and replace decimal values with their character signs in order to increase comprehensibility and readability. 2 years ago
fdai7057 af62069f27 Implementation of function isLetterOfAlphabet(). 2 years ago
fdai7057 02010b31d1 The error handling is now controlled by the function errorMessage. It is declared in error.h and defined in error.c. It is called in different cases. Each error has its own error code. The advantage is that the error message is specific. 2 years ago
fdai7057 0a0a197b6f Prepare merge from feature/error-handling into development, rename folders. 2 years ago
fdai7057 c5dec7f704 Add preprocessor directives in four header files. 2 years ago
fdai7057 fa12fdef2a Implementation of function everyCharacterIsDigit(). 2 years ago
fdai7057 d8f3b64d53 refactoring: change variable names to increase readability. 2 years ago
fdai7057 b8c357c667 bug fix: the behaviour of the function power() for 0 to the power of 0 and and for an exponent with the value 0 for any positive base in the range of the data type is not undefined anymore. 2 years ago
fdai7057 854366fd97 Implementation of function power(). 2 years ago
fdai7057 cd3e643660 fix errors that occured while using ceedling to run tests of different files with one call to test:all. 2 years ago
fdai7057 34007afda0 Implementation of to_unsignedInteger() 2 years ago
fdai7057 5709d437f6 Implementation of function runBankmanagementSystem(). This function is the starting point of our software. Its job is to call other functions implemented in other c-files. Multiple files are compiled. 2 years ago
fdai7057 de53d4ef95 solve merge conflict 2 years ago
fdai7057 3e76d660b0 implementation of checkLogin() 2 years ago
fdai7057 34f838204a Implementation of function stringConcatenation() and creation of docs.txt to as a documentation for the functions. 2 years ago
fdai7057 79573d2381 refactoring: rename variables for better understanding, write comment to explain function generateCheckString(), optimize intendation 2 years ago
fdai7057 6c766ee827 implementation of unit tests for generateCheckString() 2 years ago
fdai7057 349f173811 solve merge conflict 2 years ago
fdai7207 0e8d805605 refactoring: made code more readable and enhanced the menuInput() and chooseOption() functions. 2 years ago
fdai7207 ac4b64166e implement the function menuInput(), in order for the user to choose a banking option. 2 years ago
fdai7207 26ea996b0b implement the function menuInput(), in order for the user to choose a menu option. 2 years ago
fdai7207 ceccdd60a9 implement unit tests for the function chooseOption(). 2 years ago
fdai7057 c563dc710b initial commit 2 years ago
fdai7057 c2c1eac497 renaming files: source and header files start with lower case letters. Fixingorder of statements in build-project.sh 2 years ago
fdai7057 9fd187a289 remove unnecessary directories, implement build script, move project.yml to a new place 2 years ago
fdai7207 cf756de8b9 refactoring: changed some variable names, made code more readable and enhanced some functions 2 years ago
fdai7207 dcee631e6b implement the functions ageInput() and showMenu() to execute mainMenu.c . 2 years ago
fdai7207 c135603ed0 implement unit tests for the functions agePermission() and checkIfInteger() 2 years ago
Shivam Chaudhary 7b176305a3 Initial commit 2 years ago
fdai7057 2ad433c776 Implementation of function stringConcatenation() and creation of docs.txt to as a documentation for the functions. 2 years ago
fdai7057 08444292cb refactoring: modification of unit tests for function generateID(), add array for values and for-loop to check assertions 2 years ago
fdai7057 ecc8068103 Implementation of function error() 2 years ago
fdai7057 b4d442e4ea Implementation of function menu() 2 years ago
fdai7057 3e1cc260d4 Implementation of function showAllMenuEntries() 2 years ago
fdai7057 6edec343d6 Implementation of function customerChoiceForMenuItem() 2 years ago
fdai7057 3e7a7d3c89 Implementation of functions LoginAsCustomer() and Login() 2 years ago
fdai7057 0155f61c65 implementation of unit tests for checkLogin() 2 years ago
fdai7057 24ec8ae397 implementation of checkLogin() 2 years ago
fdai7057 51b40e67d0 refactoring: rename variables for better understanding, write comment to explain function generateCheckString(), optimize intendation 2 years ago
fdai7057 1450f66117 Implementation of writeCustomerPropertiesToFile() 2 years ago
fdai7057 814c0eb148 implementation of collectCustomerProperties() 2 years ago
fdai7057 dbff9b5a1d implementation of unit tests for generateCheckString() 2 years ago