Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • master
1 result

Target

Select target project
  • thibault.meynier.etu/projet_se3_2021
  • Walter.Rudametkin1/projet_se3_2021
  • paul.gallot/projet_se3_2021
  • tom.carrere.etu/projet_se3_2021
  • mohamed.bennani.etu/projet_se3_2021
  • antoine.brossas.etu/projet_se3_2021
  • haitam.blgrim.etu/projet_se3_2021
  • flavie.henry.etu/projet_se3_2021
  • heloise.lacroix.etu/projet_se3_2021
  • arthur.vain.etu/projet_se3_2021
  • aymen.baccar.etu/projet_se3_2021
  • loic.bal.etu/projet_se3_2021
  • maxence.laurent.etu/projet_se3_2021
  • victor.blondelle.etu/projet_se3_2021
  • florian.prin.etu/projet_se3_2021
  • tristan.payen.etu/projet_se3_2021
  • simon.douteau.etu/projet_se3_2021
  • florian.vallee2.etu/projet_se3_2021
  • niels.godbert.etu/projet_se3_2021
  • sami.aggar.etu/projet_se3_2021
  • vincent.aranega/projet_se3_2021
  • walter.rudametkin/projet_se3_2021
22 results
Select Git revision
  • master
1 result
Show changes
Commits on Source (3)
TARGET= project
CFLAGS=-g -W -Wall -Wextra -MMD
LDFLAGS=-lm
SRC=$(wildcard *.c)
DEPS=$(SRC:.c=.d)
OBJ=$(SRC:.c=.o)
default: $(TARGET)
.c.o:
gcc $(CFLAGS) -c $<
$(TARGET): $(OBJ)
gcc $(LDFLAGS) $^ -o $@
-include $(DEPS)
.PHONY: clean
clean:
rm -f *.o
rm -f $(TARGET)
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
struct airline
{
char IATA_CODE_AIRLINE[2];
char AIRLINE[30];
};
struct airport
{
char IATA_CODE_AIRPORT[3];
char NAME[80];
char CITY[30];
char STATE[3];
char COUNTRY[3];
float LATITUDE;
float LONGITUDE;
};
struct flight
{
int MONTH;
int DAY;
int WEEKDAY;
char AIRLINE[2];
char ORGAIR[3];
char DEST_AIR[3];
int SCHDED_DEP;
int DEP_DELAY;
float AIR_TIME;
int DIST;
int SCHED_ARR;
float ARR_DELAY;
int DIVERTED;
int CANCELLED;
};
int main ()
{
int q=1;
FILE* fo1;
FILE* fo2;
FILE* fo3;
fo1=fopen("airports.csv","rt");
fo2=fopen("flights.csv","rt");
fo3=fopen("airlines.csv","rt");
if( (fo1 == NULL) || (fo2 == NULL) || (fo3 == NULL) ){
printf("Ouverture des fichiers impossible ! \n" );
exit(0);
}
while (q==1)
{
}
return 0;
}