Skip to content

Instantly share code, notes, and snippets.

Avatar

Paun Stefan paunstefan

View GitHub Profile
View citire_fisier_relativ.c
#include<stdio.h>
#include<conio.h>
#define NOGRADEYET 0
#define ABESNT -1
typedef struct{
unsigned int nrm;
char nume[30];
unsigned char ans;
View creare_fisier_relativ.c
#include<stdio.h>
#include<conio.h>
#define NOGRADEYET 0
#define ABSENT -1
typedef struct {
unsigned int nrm;
char nume[30];
unsigned char ans;
View creare_fisier_text.c
// Creeaza fisierul text cu informatiile din fisierul binar de la 'creare_fisier.c'
#include<stdio.h>
#include<conio.h>
typedef struct{
unsigned int an;
unsigned char luna;
unsigned char zi;
}DATA;
View creare_fisier.c
// Creeaza fisierul binar
#include<stdio.h>
#include<conio.h>
typedef struct{
unsigned int an;
unsigned char luna;
unsigned char zi;
}DATA;
You can’t perform that action at this time.