Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 89f4620

Browse files
[loopsRefsAuto] Clarify a task.
1 parent b411bd8 commit 89f4620

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

‎exercises/loopsRefsAuto/loopsRefsAuto.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ int main() {
1717
DontCopyMe collection[10];
1818

1919
// Task 1:
20-
// Write a for loop that initialises each struct's resultA and resultB with ascending integers.
20+
// Write a for loop that initialises resultA and resultB for each element in the above array
21+
// with sensible numbers.
2122
// Verify the output of the program before and after you do this.
2223

2324

‎exercises/loopsRefsAuto/solution/loopsRefsAuto.sol.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ int main() {
1717
DontCopyMe collection[10];
1818

1919
// Task 1:
20-
// Write a for loop that initialises each struct's resultA and resultB with ascending integers.
20+
// Write a for loop that initialises resultA and resultB for each element in the above array
21+
// with sensible numbers.
2122
// Verify the output of the program before and after you do this.
2223

2324
for ( int i = 0 ; i<10 ; ++i ) {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /