Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Romain De Laage De Bellefaye
LO21-projet
Commits
f7848295
Verified
Commit
f7848295
authored
May 27, 2021
by
Romain De Laage De Bellefaye
🌳
Browse files
Add qmake file, add headers
parent
924b51f4
Changes
5
Hide whitespace changes
Inline
Side-by-side
GUI/autocell.cpp
View file @
f7848295
#include
"autocell.h"
#include
"reseau_cellule_etats.h"
#include
"
Reseau_Cellule_Etat/
reseau_cellule_etats.h"
#include
<QApplication>
#include
<QPushButton>
...
...
GUI/autocell.h
View file @
f7848295
#ifndef AUTOCELL_H
#define AUTOCELL_H
#include
"reseau_cellule_etats.h"
#include
"
Reseau_Cellule_Etat/
reseau_cellule_etats.h"
#include
<QApplication>
#include
<QPushButton>
...
...
Makefile
deleted
100644 → 0
View file @
924b51f4
CC
=
g++
FLAGS
=
-O3
-Wall
-Wextra
-Werror
-pedantic-errors
-std
=
c++17
OBJS
=
main.o
PROJNAME
=
projetLO21
$(PROJNAME)
:
$(OBJS)
$(CC)
$(FLAGS)
-o
$(PROJNAME)
$^
%.o
:
%.cpp
$(CC)
$(FLAGS)
-c
$<
-o
$@
clean
:
rm
-f
$(OBJS)
$(PROJNAME)
Voisinage/voisinage.hpp
View file @
f7848295
...
...
@@ -11,6 +11,8 @@
#include
<stdio.h>
#include
<iostream>
#include
"Reseau_Cellule_Etat/reseau_cellule_etats.h"
using
namespace
std
;
...
...
@@ -29,7 +31,7 @@ public:
Voisinage
();
~
Voisinage
();
Cellule
*
getCelluleCentre
()
const
{
return
celluleCentre
;}
const
Cellule
*
getCelluleCentre
()
const
{
return
celluleCentre
;}
void
setr
(
unsigned
int
rayon
);
unsigned
int
getr
()
const
{
return
r
;}
VoisinageIterator
*
creerIterator
()
const
{
...
...
qmake
0 → 100644
View file @
f7848295
QT += widgets
SOURCES += GUI/autocell.cpp
SOURCES += Voisinage/voisinage.cpp
SOURCES += Reseau_Cellule_Etat/reseau_cellule_etats.cpp
SOURCES += Reseau_Cellule_Etat/main.cpp
SOURCES += Fonction_Regle/Fonction.cpp
SOURCES += Automate/Automate.cpp
HEADERS += ./GUI/autocell.h
HEADERS += ./Cellulut/Cellulut/fonction.h
HEADERS += ./Voisinage/voisinage.hpp
HEADERS += ./Reseau_Cellule_Etat/reseau_cellule_etats.h
HEADERS += ./Fonction_Regle/Fonction.h
HEADERS += ./Automate/Automate.h
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment