Aktualizovat a3/program.c
This commit is contained in:
parent
ca9cfe51f1
commit
2e3c118fec
@ -3,8 +3,8 @@
|
|||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#DEFINE BUFFER_SIZE 64;
|
#define BUFFER_SIZE 64;
|
||||||
#DEFINE STUDENT_SIZE 32;
|
#define STUDENT_SIZE 32;
|
||||||
|
|
||||||
struct studentApplication
|
struct studentApplication
|
||||||
{
|
{
|
||||||
@ -19,6 +19,8 @@ int main()
|
|||||||
int i = 0;
|
int i = 0;
|
||||||
char processedName[BUFFER_SIZE];
|
char processedName[BUFFER_SIZE];
|
||||||
char newLineSymbol = '\n';
|
char newLineSymbol = '\n';
|
||||||
|
char line[SIZE];
|
||||||
|
memset(line,0, sizeof(line));
|
||||||
|
|
||||||
setMemoryOfArrays(processedName, student);
|
setMemoryOfArrays(processedName, student);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user