Toggle navigation
A+
A+ Vector with a project
Mock frame
Index
username
Log out
Vector with a project
Course
Index
Exercise results
Notifications
External
Discussions
Help
Site
Home
Course archive
username
Log out
Course
Index
Exercise results
Notifications
External
Discussions
Help
Git and remote repositiories »
« (E) Count the points of the game Mölkky
Programming 2: Structures
»
Vector with a project
Vector with a project
¶
Git and remote repositiories
Choice 1: command line
Setting a remote repository in command line
Retrieving new materials from the remote repository in command line
Choice 2: Qt Creator
Setting a remote repository in Qt Creator
Retrieving new materials from the remote repository in Qt Creator
STL’s vector and going through it (for loop)
STL’s vector
For troubleshooting
C++’s
for
loop
Going through the elements in a container
The interval between chosen integer values
Data vs control (struct and enum types)
Record type (struct in C++)
Enumeration type
Data driven programming
Waterdrop game, the first version
Data structures: game board and water drops
Program files
Forward declation of a class
Class
Square
Attributes
Methods
Referring to methods with operators
.
and
->
Main function and other functions
Next explore function
initBoard
Next explore function
printBoard
Next explore function
readCommandSuccesfully
Conclusions
About programming style
Functionality
Structuring a program
Naming conventions
Comments
Code layout
Object-oriented programming
Other style issues
(P) Pairs
Header comment and feedback language
Game rules
Pairs game vs waterdrop game
Assignment
Input types and reading the input
Code templates
Project phases
Evaluation
(Q) Feedback from the project
Git and remote repositiories »
« (E) Count the points of the game Mölkky
Privacy Policy