This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- ============================================================= | |
| -- Simple Bank Database - Complete SQL File | |
| -- Studi Kasus: Sistem Perbankan Digital (Digital Banking System) | |
| -- ============================================================= | |
| CREATE DATABASE IF NOT EXISTS `simple_bank`; | |
| USE `simple_bank`; | |
| -- ============================================================= | |
| -- USER & GRANT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| struct Stack { | |
| int top; | |
| size_t capacity; | |
| int *array; | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <time.h> | |
| /** | |
| * Error Codes | |
| * | |
| * -1 -> Memory allocation failed | |
| * -2 -> Cart empty |