Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Projet_sudoku
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jolibois Simon
Projet_sudoku
Commits
2f489c99
Commit
2f489c99
authored
4 years ago
by
Jolibois Simon
Browse files
Options
Downloads
Patches
Plain Diff
Delete grille.h
parent
0c78bb65
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
grille.h
+0
-59
0 additions, 59 deletions
grille.h
with
0 additions
and
59 deletions
grille.h
deleted
100644 → 0
+
0
−
59
View file @
0c78bb65
#ifndef GRILLE_H
#define GRILLE_H
#include
<QObject>
#include
<iostream>
#include
<math.h>
#include
<QFile>
#include
<QStringList>
#include
<QDebug>
#include
<algorithm>
#include
<string>
using
namespace
std
;
class
Grille
//: public QObject
{
// Q_OBJECT
public:
Grille
(
int
vd
=
0
);
Grille
(
const
Grille
&
D
);
~
Grille
();
// Q_PROPERTY(QList<QString> tableauQML READ readGrille NOTIFY grilleChanged)
Grille
&
operator
=
(
const
Grille
&
D
);
// opérateur d'affectation
friend
ostream
&
operator
<<
(
ostream
&
sortie
,
Grille
&
V
);
void
Print
();
void
Init
(
int
value
);
void
Set
(
int
x
,
int
y
,
int
value
);
int
Get
(
int
x
,
int
y
);
void
EssaiJoueur
();
// on regarde si la case (x_actif,y_actif) a la valeur chiffre_actif
void
SelectChiffre
(
int
c
);
void
SelectCase
(
int
x
,
int
y
);
bool
TestWin
();
private:
int
**
T
;
// c'est le tableau que l'on complète
int
chiffre_actif
;
//la valeur sélectionnée à l'écran
int
x_actif
;
//abscisse case active
int
y_actif
;
//ordonnée case active
bool
win
;
// la partie est gagnée ou non
// Méthode privée (factorisation de code)
void
Alloc
();
void
Free
();
/*
signals :
void grilleChanged();
*/
};
#endif // GRILLE_H
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment