Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 13749

The problem set for Week 3 asks students to write code for a classic puzzle game in the C programming language.

0 votes
2 answers
29 views

Changing an exit code

I have finished the game of fifteen program. Yet, I still have two errors I don't understand about how my program should exit. I think it is because of my won function which try to see if each slot o …
Revolucion for Monica's user avatar
0 votes
1 answer
71 views

Issue when randomizing tiles of the game of fifteen with Fisher-Yates algorithm

I am trying to achieve week 3 game of fifteen with the hacker edition of the problem set. I did some research about randomizing the tiles of the game of fifteen and found an interesting web page writt …
Revolucion for Monica's user avatar
1 vote
2 answers
57 views

Always having the same randomized game of fifteen

I always have the same randomized game of fifteen after randomizing it. void init(void) { nombre = d*d-1; for(int ligne = 0; ligne<d; ligne++){ for (int colonne= 0;colonne<d;colonne+ …
Revolucion for Monica's user avatar
0 votes
1 answer
24 views

What is `all:` command?

I encountered a problem while using all command (or variable if : is used to create one) during problem set 3. bash: all:: command not found The context is building both generate and find (two file …
Revolucion for Monica's user avatar