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
41ef81d2
Verified
Commit
41ef81d2
authored
Jun 11, 2021
by
Romain De Laage De Bellefaye
🌳
Browse files
remove debug print
parent
63a20552
Changes
4
Hide whitespace changes
Inline
Side-by-side
includes/Automate.h
View file @
41ef81d2
...
...
@@ -105,7 +105,6 @@ class Automate {
nextTimer
();
itBuffer
++
;
AutoCell
::
getInstance
().
afficherGrille
(
&*
itBuffer
);
std
::
cout
<<
buffer
.
size
()
<<
std
::
endl
;
}
/// Execution multiple de la méthode step
void
run
(
int
n
)
{
...
...
src/autocell.cpp
View file @
41ef81d2
...
...
@@ -67,7 +67,6 @@ AutoCell::AutoCell(QWidget* parent):QWidget(parent)
std
::
vector
<
QString
>
noms_modeles
=
Database
::
getInstance
().
getAutomates
();
for
(
size_t
i
=
0
;
i
<
noms_modeles
.
size
()
;
i
++
){
std
::
cout
<<
"modele :"
<<
noms_modeles
[
i
].
toStdString
()
<<
std
::
endl
;
liste
->
addItem
(
noms_modeles
[
i
]);
}
...
...
src/autosql.cpp
View file @
41ef81d2
...
...
@@ -212,7 +212,6 @@ std::vector<QString> Database::getListeReseaux(const QString& name) const
query
.
bindValue
(
":nom"
,
name
);
query
.
exec
();
std
::
cout
<<
query
.
lastError
().
text
().
toStdString
()
<<
std
::
endl
;
std
::
vector
<
QString
>
names
;
if
(
!
query
.
first
())
...
...
src/voisinage.cpp
View file @
41ef81d2
...
...
@@ -31,8 +31,6 @@ void RegleVoisinageMoore::calculVoisinage(Voisinage& v, const Reseau& r) const {
int
hauteur
=
r
.
getHauteur
();
int
largeur
=
r
.
getLargeur
();
std
::
cout
<<
"hauteur"
<<
hauteur
<<
"largeur"
<<
largeur
<<
std
::
endl
;
for
(
int
i
=
-
static_cast
<
int
>
(
rayon
);
i
<=
static_cast
<
int
>
(
rayon
);
i
++
)
for
(
int
j
=
-
static_cast
<
int
>
(
rayon
);
j
<=
static_cast
<
int
>
(
rayon
);
j
++
)
if
(
abs
(
i
)
<=
static_cast
<
int
>
(
rayon
)
&&
abs
(
j
)
<=
static_cast
<
int
>
(
rayon
)
&&
i
!=
0
&&
j
!=
0
)
...
...
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