You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- <b>settings.h</b>: Header containing PostgreSQL server settings.
80
80
81
81
<br>
82
82
83
-
Códigos:
83
+
Codes:
84
84
85
-
- <b>1 - connect.c</b>: Realiza a conexão com o servidor.
86
-
- <b>2 - create table.c</b>: Cria e exclui uma tabela no banco de dados.
87
-
- <b>3 - insert item.c</b>: Insere registros em uma tabela.
88
-
- <b>4 - select all.c</b>: Seleciona os registros de uma tabela.
89
-
- <b>5 - delete.c</b>: Exclui registros.
90
-
- <b>6 - update.c</b>: Atualiza registros.
85
+
- <b>1 - connect.c</b>: Makes the connection to the server.
86
+
- <b>2 - create table.c</b>: Creates and deletes a table in the database.
87
+
- <b>3 - insert item.c</b>: Insert records into a table.
88
+
- <b>4 - select all.c</b>: Selects records from a table.
89
+
- <b>5 - delete.c</b>: Delete records.
90
+
- <b>6 - update.c</b>: Update records.
91
91
92
92
<br>
93
93
94
94
:hammer: Compiling the codes
95
95
---
96
96
97
-
Para compilar os códigos, basta executar o script <b>build.sh</b>, especificando em seus parâmetros o nome do arquivo que você deseja compilar, como no exemplo abaixo.
97
+
To compile the codes, just run the <b>build.sh</b> script, specifying in its parameters the name of the file you want to compile, as in the example below.
98
98
99
99
```bash
100
100
./build.sh "1 - connect.c"
101
101
```
102
102
103
103
<br>
104
104
105
-
O arquivo compilado sempre fica salvo com o nome <b>app-test</b>, logo, basta executá-lo para realizar os testes.
105
+
The compiled file is always saved with the name <b>app-test</b>, so just run it to run the tests.
0 commit comments