-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Reti informatiche] Caricato progetto dello studente Giulio Zingrillo…
… che ringraziamo per averci fornito il sorgente del suo progetto
- Loading branch information
1 parent
cb93c7c
commit e81b212
Showing
36 changed files
with
1,655 additions
and
0 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
.../Reti Informatiche/Progetti/Progetti studenti/A.A.24-25 - Zingrillo/.vscode/settings.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"files.associations": { | ||
"cstdlib": "c", | ||
"*.tcc": "c", | ||
"memory": "c", | ||
"new": "c", | ||
"array": "c", | ||
"string": "c", | ||
"string_view": "c" | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...TRE/Reti Informatiche/Progetti/Progetti studenti/A.A.24-25 - Zingrillo/.vscode/tasks.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"tasks": [ | ||
{ | ||
"type": "cppbuild", | ||
"label": "C/C++: gcc compila il file attivo", | ||
"command": "/usr/bin/gcc", | ||
"args": [ | ||
"-fdiagnostics-color=always", | ||
"-g", | ||
"${file}", | ||
"-o", | ||
"${fileDirname}/${fileBasenameNoExtension}" | ||
], | ||
"options": { | ||
"cwd": "${fileDirname}" | ||
}, | ||
"problemMatcher": [ | ||
"$gcc" | ||
], | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
}, | ||
"detail": "Attività generata dal debugger." | ||
} | ||
], | ||
"version": "2.0.0" | ||
} |
Binary file added
BIN
+77.8 KB
...nformatiche/Progetti/Progetti studenti/A.A.24-25 - Zingrillo/Documentazione_Zingrillo.pdf
Binary file not shown.
35 changes: 35 additions & 0 deletions
35
...NO/I SEMESTRE/Reti Informatiche/Progetti/Progetti studenti/A.A.24-25 - Zingrillo/Makefile
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Variabili | ||
CC = gcc | ||
CFLAGS = -Wall | ||
LDFLAGS = | ||
|
||
# File sorgente | ||
SERVER_SOURCES = server.c modules/quiz.c modules/game.c modules/common.c modules/database.c modules/dashboard.c | ||
CLIENT_SOURCES = client.c modules/common.c | ||
|
||
# File oggetto | ||
SERVER_OBJECTS = $(SERVER_SOURCES:.c=.o) | ||
CLIENT_OBJECTS = $(CLIENT_SOURCES:.c=.o) | ||
|
||
# Eseguibili | ||
SERVER_EXECUTABLE = server | ||
CLIENT_EXECUTABLE = client | ||
|
||
# Regola per costruire tutto | ||
all: $(SERVER_EXECUTABLE) $(CLIENT_EXECUTABLE) | ||
|
||
# Regola per costruire il server | ||
$(SERVER_EXECUTABLE): $(SERVER_OBJECTS) | ||
$(CC) $(LDFLAGS) -o $@ $^ | ||
|
||
# Regola per costruire il client | ||
$(CLIENT_EXECUTABLE): $(CLIENT_OBJECTS) | ||
$(CC) $(LDFLAGS) -o $@ $^ | ||
|
||
# Regola per costruire i file oggetto | ||
%.o: %.c | ||
$(CC) $(CFLAGS) -c -o $@ $< | ||
|
||
# Regola per pulire i file generati | ||
clean: | ||
rm -f $(SERVER_OBJECTS) $(CLIENT_OBJECTS) $(SERVER_EXECUTABLE) $(CLIENT_EXECUTABLE) |
Binary file added
BIN
+21.3 KB
...ANNO/I SEMESTRE/Reti Informatiche/Progetti/Progetti studenti/A.A.24-25 - Zingrillo/client
Binary file not shown.
Oops, something went wrong.