Skip to content
Snippets Groups Projects
Commit 1c72319c authored by T.Wadi's avatar T.Wadi
Browse files

last changes aufgabe5

parent e1eac31a
No related branches found
No related tags found
No related merge requests found
......@@ -2,8 +2,10 @@ make.exe --dry-run --always-make --keep-going --print-directory
make: Entering directory '/cygdrive/c/Users/touil/OneDrive/Dokumente/Uni/informatik-2'
gcc -g -O0 -std=gnu11 -Wall -Wextra -Wpedantic -Wconversion -I include -c src/cds.c -o build/cds.o
gcc -g -O0 -std=gnu11 -Wall -Wextra -Wpedantic -Wconversion -I include -c src/database.c -o build/database.o
gcc -g -O0 -std=gnu11 -Wall -Wextra -Wpedantic -Wconversion -I include -c src/datetime.c -o build/datetime.o
gcc -g -O0 -std=gnu11 -Wall -Wextra -Wpedantic -Wconversion -I include -c src/main.c -o build/main.o
gcc -g -O0 -std=gnu11 -Wall -Wextra -Wpedantic -Wconversion -I include -c src/menu.c -o build/menu.o
gcc -g -O0 -std=gnu11 -Wall -Wextra -Wpedantic -Wconversion -I include -c src/sort.c -o build/sort.o
gcc -g -O0 -std=gnu11 -Wall -Wextra -Wpedantic -Wconversion -I include -c src/tools.c -o build/tools.o
......
{
"files.associations": {
"cds.h": "c",
"stdio.h": "c"
"stdio.h": "c",
"tools.h": "c",
"datastructure.h": "c"
},
"C_Cpp.errorSquiggles": "Disabled",
"makefile.launchConfigurations": [
......
......@@ -9,7 +9,7 @@ make: *** No rule to make target 'all'. Stop.
# There is NO WARRANTY, to the extent permitted by law.
# Make data base, printed on Wed Jun 22 01:07:40 2022
# Make data base, printed on Thu Jun 23 15:02:04 2022
# Variables
......@@ -29,7 +29,7 @@ VBOX_MSI_INSTALL_PATH = C:\Program Files\Oracle\VirtualBox\
# environment
LOCALAPPDATA = C:\Users\touil\AppData\Local
# environment
VSCODE_IPC_HOOK_EXTHOST = \\.\pipe\vscode-ipc-d99d363d-3a11-4fcf-9f3f-2beaab444b18-sock
VSCODE_IPC_HOOK_EXTHOST = \\.\pipe\vscode-ipc-365fdaf3-e538-4a20-a46b-3afd5f8218b9-sock
# environment
VSCODE_CWD = C:\Users\touil\AppData\Local\Programs\Microsoft VS Code
# environment
......@@ -45,7 +45,7 @@ SPITRANS = USB
# automatic
@D = $(patsubst %/,%,$(dir $@))
# environment
CHROME_CRASHPAD_PIPE_NAME = \\.\pipe\crashpad_17644_TXAEYPJPLRXZTVMU
CHROME_CRASHPAD_PIPE_NAME = \\.\pipe\crashpad_13152_KESNCEYPIYFQIVXE
# makefile (from 'Makefile', line 27)
INCLUDE_DIR = include
# environment
......@@ -111,7 +111,7 @@ MAKEFILE_LIST := Makefile
# environment
VSCODE_VERBOSE_LOGGING = true
# environment
VSCODE_PID = 17644
VSCODE_PID = 13152
# makefile (from 'Makefile', line 25)
C_COMPILER_CALL = $(C_COMPILER) $(C_COMPILER_FLAGS)
# automatic
......@@ -123,6 +123,7 @@ C_COMPILER_CALL = $(C_COMPILER) $(C_COMPILER_FLAGS)
# environment
VSCODE_NLS_CONFIG = {"locale":"en","availableLanguages":{},"_languagePackSupport":true}
# default
MAKE_HOST := x86_64-pc-cygwin
# environment
PROGRAMDATA = C:\ProgramData
......@@ -216,7 +217,6 @@ VSCODE_AMD_ENTRYPOINT = vs/workbench/api/node/extensionHostProcess
EXECUTABLE_NAME = $(EXECUTABLE_PREFIX)Debug
# makefile (from 'Makefile', line 13)
C_COMPILER_FLAGS = -g -O0 -std=$(C_STANDARD) -Wall -Wextra -Wpedantic -Wconversion
# makefile (from 'Makefile', line 29)
BUILD_DIR = build
# environment
......@@ -250,6 +250,7 @@ PROCESSOR_REVISION = 1100
# environment
PROCESSOR_IDENTIFIER = AMD64 Family 23 Model 17 Stepping 0, AuthenticAMD
# variable set hash-table stats:
# Load=117/1024=11%, Rehash=0, Collisions=14/168=8%
# Pattern-specific Variable Values
......@@ -259,9 +260,10 @@ PROCESSOR_IDENTIFIER = AMD64 Family 23 Model 17 Stepping 0, AuthenticAMD
# Directories
# src (device 1685372651, inode 6473924464657686): 9 files, no impossibilities.
# . (device 1685372651, inode 16044073672514523): 10 files, no impossibilities.
# . (device 1685372651, inode 16044073672514523): 9 files, no impossibilities.
# 19 files, no impossibilities in 2 directories.
# 18 files, no impossibilities in 2 directories.
# Implicit Rules
......@@ -352,7 +354,6 @@ build: build/CDVerwaltungDeluxDebug
build/CDVerwaltungDeluxDebug: build/cds.o build/database.o build/datetime.o build/main.o build/menu.o build/sort.o build/tools.o
# Implicit rule search has not been done.
# Modification time never checked.
# File has not been updated.
# recipe to execute (from 'Makefile', line 37):
......@@ -377,12 +378,12 @@ build/main.o:
# No general ('VPATH' variable) search path.
# strcache buffers: 1 (0) / strings = 34 / storage = 325 B / avg = 9 B
# current buf: size = 8162 B / used = 325 B / count = 34 / avg = 9 B
# strcache buffers: 1 (0) / strings = 33 / storage = 312 B / avg = 9 B
# current buf: size = 8162 B / used = 312 B / count = 33 / avg = 9 B
# strcache performance: lookups = 50 / hit rate = 32%
# strcache performance: lookups = 49 / hit rate = 32%
# hash-table stats:
# Load=34/8192=0%, Rehash=0, Collisions=0/50=0%
# Finished Make data base on Wed Jun 22 01:07:40 2022
# Load=33/8192=0%, Rehash=0, Collisions=0/49=0%
# Finished Make data base on Thu Jun 23 15:02:04 2022
File deleted
Exception: STATUS_ACCESS_VIOLATION at rip=001801C35A8
rax=00000000000007C6 rbx=0000000000000000 rcx=00000000000007C6
rdx=0000000000000001 rsi=00000001004058BB rdi=00000000FFFFC7B0
r8 =0000000000000001 r9 =0000000000000001 r10=00000000000007C6
r11=00000000FFFFC7B0 r12=0000000000000000 r13=00000000FFFFD680
r14=0000000000000001 r15=00000000FFFFC8A0
rbp=00000000FFFFC788 rsp=00000000FFFFC668
program=C:\Users\touil\OneDrive\Dokumente\Uni\informatik-2\build\CDVerwaltungDeluxDebug.exe, pid 246, thread main
cs=0033 ds=002B es=002B fs=0053 gs=002B ss=002B
Stack trace:
Frame Function Args
000FFFFC788 001801C35A8 (000FFFFC7B0, 000FFFFC920, 001801D7B05, 000FFFFC7B0)
000FFFFC788 001801DF158 (0018022DE30, 001004058BD, 000FFFFCA40, 000FFFFCA30)
000FFFFCA60 001801BC6BF (000000007C6, 0010040337A, 00000000000, 0080006154C)
000FFFFCA60 0018018EFFB (000000007C6, 0010040337A, 00000000000, 0080006154C)
000FFFFCA60 001004033B6 (00800092030, 000FFFFB52C, 00000000000, 00800092030)
000FFFFCAA0 00100402E01 (00000000002, 0010040337A, 00000000000, 001801BEF00)
000FFFFCAE0 00100402ECD (00000000002, 0010040337A, A000000FFFFCB28, 001004051CA)
000FFFFCB50 00100401490 (000FFFFCB80, 00180320007, 001801B658A, 00100405785)
000FFFFCBD0 00100402BD1 (00180049B21, 000FFFFCC30, 00100000002, 00180322FC0)
000FFFFCD30 00180049B8D (00000000000, 00000000000, 00000000000, 00000000000)
000FFFFFFF0 00180047746 (00000000000, 00000000000, 00000000000, 00000000000)
000FFFFFFF0 001800477F4 (00000000000, 00000000000, 00000000000, 00000000000)
End of stack trace
File deleted
File deleted
File deleted
File deleted
Exception: STATUS_ACCESS_VIOLATION at rip=001801C3970
rax=0000000100000001 rbx=0000000000000000 rcx=0000000100000000
rdx=00000000FFFFCAB3 rsi=0000000100409020 rdi=000000000000000A
r8 =0000000000000008 r9 =000000000000003C r10=0000000000000007
r11=0000000100000000 r12=00000000FFFFCC30 r13=00000000FFFFCC40
r14=0000000000000001 r15=0000000000000000
rbp=00000000FFFFCB20 rsp=00000000FFFFCA58
program=C:\Users\touil\OneDrive\Dokumente\Uni\informatik-2\build\mainDebug.exe, pid 1704, thread main
cs=0033 ds=002B es=002B fs=0053 gs=002B ss=002B
Stack trace:
Frame Function Args
000FFFFCB20 001801C3970 (00100409030, 000FFFFCAA0, 001004052D0, 00800061338)
000FFFFCB20 00100401D33 (000FFFFCB68, 000FFFFCADC, 00000000000, 0000000005C)
000FFFFCB70 0010040165D (000FFFFCBA0, 00000000007, 0000000000A, 00100405385)
000FFFFCBE0 0010040251C (00180049B21, 000FFFFCC40, 00000000002, 00180322FC0)
000FFFFCD30 00180049B8D (00000000000, 00000000000, 00000000000, 00000000000)
000FFFFFFF0 00180047746 (00000000000, 00000000000, 00000000000, 00000000000)
000FFFFFFF0 001800477F4 (00000000000, 00000000000, 00000000000, 00000000000)
End of stack trace
File deleted
File deleted
File deleted
#pragma once
#define MAXSONGS 30
#define MAXCDS 100
/************************************************************************************************/
/*************************************Objects declaration****************************************/
......@@ -31,6 +31,8 @@ typedef struct sCD{
unsigned int publicationYear;
unsigned int numberOfSongs;
sSong Songs[MAXSONGS];
struct sCD* next;
struct sCD* previous;
} sCD;
/************************************************************************************************/
/***********************************functions declaration****************************************/
......@@ -42,6 +44,6 @@ void inputDate();
/***********************************Externvariables****************************************/
/************************************************************************************************/
extern unsigned int countCDs;
extern sCD CDData[MAXCDS];
extern sCD CDData[];
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment