Questions tagged [2019]
The 2019 tag has no usage guidance.
11
questions
0
votes
1
answer
162
views
PSet2 doesn't match with Gradebook
I started the course on the 7th of January of 2020. I've done PSet0 and PSet1 with no problem. Now I'm in the middle of PSet2. I've done Caesar and submitted it. It appears in my Gradebook. Now I've ...
0
votes
1
answer
34
views
CS50 Resize(less comfortable) I can't create OUTFILE
I've been working on this pset for quite a few days now, but my program doesn't seem to be compiling. It keeps saying "could not create outfile"(my message). I have no idea what to do. Any help would ...
0
votes
1
answer
150
views
CS50 pset3 recover
After running it, I got the error massage "double free or corruption (top) Aborted". And I only got 000.jpg.
Need some advice, thanks.
int main(int argc, char *argv[])
{
//ensure proper usage
...
1
vote
0
answers
110
views
pset5 submit50 slug
Hi, guys. I am facing this problem you can see on the uploaded picture.
Cheers!
0
votes
1
answer
28
views
How to Map from 2018 to 2019
It is not clear to me how 2018 problem sets are mapped to 2019 ones. I have successfully completed 2018 problem sets 0 - 3 and two of the three required for problem set 4. Do I complete one of the ...
0
votes
0
answers
218
views
Pset8 Finance - Sell - Fails to update user's cash in "users" table, and fails to insert sold shares into "portfolio" table
Big picture: On the sell page of the CS50 Finance, I select the shares symbol I want to sell, and enter the number of shares, and click the Sell button, which redirects me to the homepage, but the ...
0
votes
2
answers
1k
views
Resize ( more comfortable )
int main int argc, char *argv[])
{
// ensure proper usage
if (argc != 4)
{
fprintf(stderr, "Usage: copy infile outfile\n");
return 1;
}
float f = atof(argv[1]);
if(f<= 0.0 && f>=...
0
votes
1
answer
152
views
pset7 survey - for loop to give alerts not working properly, why not?
I can't figure out what's wrong with my for loop, written in Javascript. It isn't functioning as needed.
1- It only sometimes gives the javascript alert message saying "Please make sure you have ...
0
votes
2
answers
48
views
How can I have two pset4's ; one from 2018 and one from 2019?
I had completed up to and including pset4 in 2018, and upon resuming in 2019 I was required to resume with the new pset4. How can I have 2 pset4's in the same workspace? For now, I named the 2019 pset ...
0
votes
1
answer
195
views
Resize(less) How to store triple into an array?
I have been struggling with resize (less). I can't seem to make sense of how to put the value of triple that is being read into an array (rewrite method)
Any help will be appreciated
// iterate over ...
0
votes
1
answer
406
views
Resize (more comfortable) - Code does not pass last 3 check50 test (shrinking by 0.5)
For the 2019 version of Resize (more comfortable), my code is able to pass all but the final three tests:
:( resizes 6x6-pixel BMP to 3x3 correctly when f is 0.5
expected exit code 0, not 1
:( ...