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
STL’s vector and going through it (for loop) »
« (Q) Did fetching succeeded?
Programming 2: Structures
»
Vector with a project
Vector with a project
¶
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
More examples
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 (functions)
Naming conventions
Comments
Code layout
Object-oriented programming
Other style issues
(P) Binairo
Header comment and feedback language
Game rules
Binairo vs waterdrop game
Initial filling of the gameboard
Adding characters on the gameboard
Different ways to initially fill the board
Implementing the program in parts
Tips for completing the assignment
Special requirements
Evaluation
(Q) Feedback from the project
STL’s vector and going through it (for loop) »
« (Q) Did fetching succeeded?
Privacy Policy