David
  • Member for 6 years, 3 months
  • Last seen more than 4 years ago
1 answers
0 votes
29 views
Final Project not Redirecting
Accepted answer
0 votes

It turns out I needed to put the files inside the vhosts folder. Index.php was not found when it was outside this folder.

View answer
1 answers
0 votes
606 views
pset5 load speller.c, seg fault with gdb
0 votes

Instead of while (temp_node != NULL) { temp_node = temp_node -> next; temp_node -> next = new_node; } Do while (temp_node -> next != NULL) { temp_node = temp_node -> next; } ...

View answer
2 answers
0 votes
338 views
pset2 Vigenere Modulo
1 votes

You were correct. You must use the modulus operator to ensure that the text output is between A and Z. However, you are wrapping the key, so that it is from A to Z. You must wrap the output. So ...

View answer
1 answers
0 votes
31 views
Kernel Panic; can't boot latest linux image
Accepted answer
0 votes

If you saved all your work in Dropbox, just re-import the appliance if anything goes wrong.

View answer
2 answers
-1 votes
122 views
Is my function written correct?
0 votes

I think you should experiment with your code. If it works, you did it right. If it doesn't, there might be compiling errors, or you might not get what you wanted as a result. You can use this to fix ...

View answer
1 answers
0 votes
250 views
Server successfully implemented, but unable to display page
Accepted answer
1 votes

Are you missing another CRLF maybe? Try this: if (dprintf(cfd, "\r\n") < 0) { continue; } After the last dprintf(), and before write().

View answer
1 answers
0 votes
41 views
What is an Array exactly?
Accepted answer
0 votes

It's like a dresser. When making the dresser, you need to tell the computer how many drawers the are. You can reference these drawers because they are labeled, the first drawer being 0. int array[...

View answer
1 answers
0 votes
88 views
Pset 3 - breakout: drand() just return positive number, so the ball only begins moving to right. Right?
Accepted answer
1 votes

You can multiply the output of drand by a number to get a random number between 0 and that number. You can also set the range of the random number function to extend to be negative by subtracting ...

View answer
2 answers
0 votes
104 views
Dictionary.c problems (still not working)
0 votes

I found out what was wrong. I wasn't checking for an apostrophe properly. I didn't need to convert to a string and use strcmp(). if (strcmp(stringOfC, "\'") == 0) { letterValue = 26; } I could ...

View answer